Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4267 Näkymät

According to the documentation, running tests on your module would be as simple as adding a test to the test directory of the module and starting the server with --log-level=test

Unfortunately this doesn't seem to work. Maybe something has changed in V8 in this department, but no matter what I do I can't make either YAML or unittests run.

Anybody tried running tests on V8?

Avatar
Hylkää
Paras vastaus

I also hit this problem. There is new option to enable YAML test in version 8 :

--test-enable

But, last time I check, this option also not trigger the YAML tests. So, maybe someone can enlighten this path..

Avatar
Hylkää

Have you found a way ? I am still searching myself. The only time I can get the YAML tests to execute is during the first installation of a module. After that, neither issuing -u or -i can I get the tests to run once more.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 21
5444
3
syysk. 16
6945
0
maalisk. 15
4030
0
maalisk. 15
6085
3
heinäk. 25
8863