gedaiu / OpenApi

OpenApi definitions for D programming language
MIT License
3 stars 2 forks source link

Unable to execute tests #3

Open JesseKPhillips opened 5 years ago

JesseKPhillips commented 5 years ago

I placed the following at the top of the parse test:

/+ dub.sdl:
    name "parsetest"
    dependency "open-api" version="~>0.1.1"
    dependency "fluent-asserts" version="~>0.12.3"
+/

And ended up unable to find what this line references

import trial.discovery.spec;
gedaiu commented 5 years ago

you can run the tests with trial.

it should work with something like this:

dub run trial — -s parse

but i am not sure if i updated the suite to work with the latest version.

JesseKPhillips commented 5 years ago

I got as far as:

$ dub run trial:runner --override-config vibe-d:tls/openssl-1.1 -- -s parse Running ./trial-root -s parse There are no tests to run.

This was after trying a number of different commands from a number of different directories

gedaiu commented 5 years ago

There was a problem with the dub.json configuration. I updated the master branch and it should work now.