Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-webui
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-webui
Commits
58cc8f1a
Commit
58cc8f1a
authored
1 year ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
Add note about test dependencies, WSL and running tests non-interactively
parent
2da72411
No related branches found
No related tags found
2 merge requests
!131
FIX: error in regexp to match URLs
,
!128
F 344 extern linkify absorbs commas etc into link adress
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README_SETUP.md
+6
-0
6 additions, 0 deletions
README_SETUP.md
with
6 additions
and
0 deletions
README_SETUP.md
+
6
−
0
View file @
58cc8f1a
...
...
@@ -63,10 +63,16 @@ See `build.properties.d/00_default.properties` for more information.
## Test
*
See
[
DEPENDENCIES
](
DEPENDENCIES#for-unit-testing
)
for the requirements to run the unit tests.
*
Run
`make test`
to compile/copy the web interface and the tests to a newly
created
`public`
folder.
*
Run
`make run-test-server`
to start a python http server.
*
The test suite can be started with
`firefox http://localhost:8000/`
.
*
*On WSL (as of Feb 2024, WSL v2.0.14.0)*
, port 8000 is sometimes not properly forwarded to the host
resulting in an unreachable test suite. Switching to a different port can be done easily
by using the
`TEST_PORT`
environment variable, e.g. with
`TEST_PORT=8111 make
run-test-server`
. Using the X11
`firefox`
from within WSL always works.
*
To run the test suite non-interactively (as in CI/CD) use
`make -d run-qunit`
## Clean
...
...
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