La doc pour l’appel des tests unitaires via le endpoint I/O a été updatée en conséquence: Simplicité® documentation/02-integration/io-commandline => Pour lancer l’execution de tous les tests d’un “shared code” de type “unit tests” il faut appeler /io avec --form service=unittests --form test=<nom du shared code> (c’est le nom de l’attribut qui indique quel type de test unitaire lancer)
2021-10-01 11:43:46,202|SIMPLICITE|ERROR||http://086d04fbddb5:8080||ECOREDB001|system|com.simplicite.util.engine.ObjectManager|query||Error SQL query: select dbd_path from m_document where row_id=test/src/com/simplicite/tests/name_dev/NamContratAvenantTest.javajava.sql.SQLSyntaxErrorException: user lacks privilege or object not found: TEST in statement [select dbd_path from m_document where row_id=test/src/com/simplicite/tests/name_dev/NamContratAvenantTest.java]
[…] Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: TEST at org.hsqldb.error.Error.error(Unknown Source) at org.hsqldb.error.Error.error(Unknown Source) at org.hsqldb.ExpressionColumn.checkColumnsResolved(Unknown Source) at org.hsqldb.QueryExpression.resolve(Unknown Source) at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source) at org.hsqldb.ParserCommand.compilePart(Unknown Source) at org.hsqldb.ParserCommand.compileStatement(Unknown Source) at org.hsqldb.Session.compileStatement(Unknown Source) at org.hsqldb.StatementManager.compile(Unknown Source) at org.hsqldb.Session.execute(Unknown Source) ... 79 more
Cette erreur ne me dit rien, quand je teste avec une classe de test (= shared code de type Server code (unit tests) ça me semble bien faire ce qu’il faut: