Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joanne Hugé
slapos
Commits
f12d8ab3
Commit
f12d8ab3
authored
Mar 04, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-testing: extend README and fix a typo
parent
e354e214
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
software/slapos-testing/README.md
software/slapos-testing/README.md
+8
-4
No files found.
software/slapos-testing/README.md
View file @
f12d8ab3
...
...
@@ -7,8 +7,8 @@ The approach is to use setuptools' integrated test runner, `python setup.py test
The
`python`
used in this command will be a
`zc.recipe.egg`
interpreter with
all eggs pre-installed by this software release.
Nexedi staff can see the results of this test from the test suite
`SLAPOS-EGG-TEST`
in test result module
.
The results of this test suite running on Nexedi ERP5 are published as
`SlapOS.Eggs.UnitTest-Master.Python3`
and
`SlapOS.Eggs.UnitTest-Master.Python2`
.
Here's an example session of how a developer could use this software release in
...
...
@@ -17,7 +17,7 @@ changes to the code, run tests and publish changes.
```
bash
# install this software release
SR
=
https://lab.nexedi.com/nexedi/slapos/raw/
master/software/slapos-testing/software.cfg
SR
=
https://lab.nexedi.com/nexedi/slapos/raw/
1.0/software/slapos-testing/software.cfg
COMP
=
slaprunner
INSTANCE_NAME
=
$COMP
...
...
@@ -33,7 +33,11 @@ cd ~/srv/runner/instance/slappart0/parts/slapos.core/
vim slapos/tests/client.py
# run tests, using bundled python intepreter with pre-installed eggs dependencies
~/srv/runner/instance/slappart0/software_release/bin/python_for_test setup.py build
SLAPOS_TEST_IPV6
=
::1
\
SLAPOS_TEST_IPV4
=
127.0.0.1
\
SLAPOS_TEST_VERBOSE
=
1
\
SLAPOS_TEST_DEBUG
=
1
\
~/srv/runner/instance/slappart0/software_release/bin/python_for_test setup.py
test
# when satified, commit changes
git add
-p
&&
git commit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment