Fossology E2E Tests
Max Wittig edited this page Apr 19, 2017
·
4 revisions
- Make sure you got at least nodejs version 6. The tests will not work otherwise! To check your nodejs version
node --version
- if this command doesn't work you propably have to install the nodejs-legacy package from apt-get first
-
sudo apt-get install nodejs-legacy
- Make sure, you're in the selenium folder
cd src/testing/selenium/
- Start the tests
npm start
- This is gonna take a while for the container to build and selenium to download
- Download the selenium chrome standalone npm package
npm install selenium-standalone@latest -g selenium-standalone install selenium-standalone start
- Start the tests
FOSSOLOGY_ENV=`yourfossip` SELENIUM_ENV=`yourseleniumip` FOSSOLOGY_TEST_FOLDER=/home/TestData/ npm test
- Copy and rename the test template file empty.spec.js to the test case name you want.
- Insert the test case file into conf.js as a spec
- Nomos
- Monk
- MonkBulk
- ReSo-(REUSE.Software)
- Reuse clearing with reuser
- ScanCode agent
- Copyright
- ECC
- Package Agent
- Maintenance Agent
- Mimetype Agent
- Buckets
- Spasht Agent
- Email notification configuration
- Migration to UTF 8 DB
- External authentication configuration
- OpenID Connect authentication configuration
- Access Control