Strange behaviour running unit test suites

Sunday, 4 October 2015 · 3 messages · last reply 11 Oct 2015
MG
Marc van Grootel4 Oct 2015 16:37 #
Hi, Just noticed this on 8.3 I have multiple unit test suites in a test folder. When I run basex -t test or basex -t test/ all suites are run (no errors) But when I try to run hem with something like basex -t test/*.xqm the test runner stops after the first suite with the following message: Stopped at /Users/marcvangrootel/data/fold-webapp/webapp/origami/test/test-data.xqm, 6/8: [XPST0003] Library modules cannot be evaluated. Can anyone confirm this behaviour? --Marc
CG
Christian Grün11 Oct 2015 13:29 #
Hi Marc, I didn't manage to trigger such an exception (but I only experimented with Windows). Could you possible do some more experiments and tell us how to reproduce it? Thanks, Christian
Quoted text · Marc van Grootel · 21 lines
On Sun, Oct 4, 2015 at 4:37 PM, Marc van Grootel <marc.van.grootel at gmail.com> wrote: > Hi, > > Just noticed this on 8.3 > > I have multiple unit test suites in a test folder. > > When I run `basex -t test` or `basex -t test/` all suites are run (no errors) > > But when I try to run hem with something like `basex -t test/*.xqm` > the test runner stops after the first suite with the following > message: > > Stopped at /Users/marcvangrootel/data/fold-webapp/webapp/origami/test/test-data.xqm, > 6/8: > [XPST0003] Library modules cannot be evaluated. > > Can anyone confirm this behaviour? > > --Marc
MG
Marc van Grootel11 Oct 2015 14:10 #
just noticed that I forgot to mention that it's on osx. maybe someone else on osx is able to verify? if I come up with something more i'll let you know --Marc
Quoted text · Christian Grün · 33 lines
> On 11 okt. 2015, at 13:29, Christian Grün <christian.gruen at gmail.com> wrote: > > Hi Marc, > > I didn't manage to trigger such an exception (but I only experimented > with Windows). Could you possible do some more experiments and tell us > how to reproduce it? > > Thanks, > Christian > > > On Sun, Oct 4, 2015 at 4:37 PM, Marc van Grootel > <marc.van.grootel at gmail.com> wrote: >> Hi, >> >> Just noticed this on 8.3 >> >> I have multiple unit test suites in a test folder. >> >> When I run `basex -t test` or `basex -t test/` all suites are run (no errors) >> >> But when I try to run hem with something like `basex -t test/*.xqm` >> the test runner stops after the first suite with the following >> message: >> >> Stopped at /Users/marcvangrootel/data/fold-webapp/webapp/origami/test/test-data.xqm, >> 6/8: >> [XPST0003] Library modules cannot be evaluated. >> >> Can anyone confirm this behaviour? >> >> --Marc

⚡Generated with XQuery