Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Python Integration Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
87116273
Commit
87116273
authored
4 years ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Patches
Plain Diff
Revert "DOC: Further explain the setup incl. pycaosdb.ini"
This reverts commit
3e3d405c
. Sorry, wrong branch!
parent
3e3d405c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-6
4 additions, 6 deletions
README.md
pycaosdb.ini.template
+1
-6
1 addition, 6 deletions
pycaosdb.ini.template
with
5 additions
and
12 deletions
README.md
+
4
−
6
View file @
87116273
...
...
@@ -7,12 +7,10 @@ CaosDB project.
# Getting started #
To run tests, start up a CaosDB server in debug mode (documentation
for this can be found elsewhere). Then modify
`pycaosdb.ini.template`
accordingly and save it as
`pycaosdb.ini`
specifying the paths for
server side scripting and file tests. Specify the SSL certificate used
by your CaosDB server in
`pycaosdb.ini`
, too. Then you can run the
tests with
`pytest`
or
`pytest-3`
(depending on your system).
To run tests, start up a CaosDB server (documentation for this can be found
elsewhere). Then modify
`pycaosdb.ini.template`
accordingly and save it as
`pycaosdb.ini`
. Then you can run the tests with
`pytest`
or
`pytest-3`
(depending on your system).
If you want to run just a single test, you can also select a single test file:
`pytest-3 tests/test_issues.py`
...
...
This diff is collapsed.
Click to expand it.
pycaosdb.ini.template
+
1
−
6
View file @
87116273
# -*- mode:conf; -*-
## This sections needs to exist in addition to the usual section
[
IntegrationTests
]
## Both paths have to point to existing directories in which the
## CaosDB server can create an execute scripts (needed for tests of
## server side scripting).
test_server_side_scripting
.
bin_dir
=/
scripting
-
bin
/
test_server_side_scripting
.
home_dir
=/
scripting
-
home
/
## For tests of file handling, specify an existing directory once as
## seen on the host machine and once as seen by the CaosDB server.
# location of the files from the pyinttest perspective
test_files
.
test_insert_files_in_dir
.
local
=/
extroot
/
test_insert_files_in_dir
/
# location of the files from the caosdb_servers perspective
...
...
@@ -20,6 +14,7 @@ test_files.test_insert_files_in_dir.server=/opt/caosdb/mnt/extroot/test_insert_f
#url=https://caosdb-server:10443/
#username=admin
#cacert=/cert/caosdb.cert.pem
#cacert=/etc/ssl/cert.pem
#debug=0
#passwordmethod=plain
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment