Artemis icon indicating copy to clipboard operation
Artemis copied to clipboard

Support for running system tests without benchmarks and a database

Open sema opened this issue 11 years ago • 2 comments

(1) We need to decide if we want non-pure HTML/JS benchmarks in our system tests.

Supporting PHP benchmarks by using the php command is okay, as it still renders our tests runnable out of the box. However, it is a hassle if the user needs to install mysql, set up permissions, and populate tables first.

I suggest that we move them into a sub-folder and disable them from running when issuing the python tests.py command.

(2) We should make it possible to run our system tests without the benchmarks, as the benchmarks requires a substantial time to finish (and we want to encourage developers to quickly run the system tests before they commit).

A --benchmarks and a --database-benchmarks parameter should be added to the test script, and only if these are given will the corresponding tests be executed.

sema avatar Mar 06 '13 14:03 sema

How about changing the test suits to use SQLite or similar? This would allow us to provide a clean test db without all the configurations.

budde377 avatar Mar 06 '13 14:03 budde377

That sounds like a good solution to the problem.

sema avatar Mar 06 '13 14:03 sema