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
6a95bc13
Verified
Commit
6a95bc13
authored
1 year ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Better server-side scripting documentation.
Part of
#22
parent
f7af7510
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!74
FIX: Pandas deprecation warning.
Pipeline
#46302
passed
1 year ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+8
-0
8 additions, 0 deletions
README.md
with
8 additions
and
0 deletions
README.md
+
8
−
0
View file @
6a95bc13
...
...
@@ -13,9 +13,17 @@ CaosDB project.
be found elsewhere):
-
The CaosDB server must have debugging enabled.
-
The database should be empty.
-
There should be a symlink named
`debug-scripting-bin`
inside the
`custom`
profile directory,
which points to the
`resources`
directory here in the pyinttest repository. You can create a
symlink like that with the following command (adapt paths to match your setting):
`custom$ ln -s ../../../../caosdb-pyinttest/resources debug-scripting-bin`
-
Modify
`pycaosdb.ini.template`
and save it as
`pycaosdb.ini`
, taking care of the following points:
-
Certificates must be valid and be specified in
`pycaosdb.ini`
.
-
Server-side scripting paths must be given, otherwise server-side scripting will be omitted.
-
The local path
`test_server_side_scripting.bin_dir.local`
should point to a
`linkahead-server/scripting/bin`
somwhere.
-
The remote path
`test_server_side_scripting.bin_dir.server`
should probably be something like
`/opt/caosdb/git/caosdb-server/scripting/bin-debug`
.
-
Paths for the file tests must exist, or be creatable by the testing script and the server.
-
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:
...
...
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