You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
Clone apiaryio/snowcrash recursively using GitHub client or git clone --recursive in the Git Shell
Open Command Prompt and change directory (cd) to Snow Crash e.g.:
> z:
> cd Apiary\snowcrash
Run vcbuild.bat:
> vcbuild.bat
Run Snow Crash tests:
> vbuild.bat test
Run Snow Crash integration tests (optional)
> vbuild.bat inttest
Visual Studio Solution File
Running vcbuild.bat (step 6) also generates the Snow Crash MSVS solution file - snowcrash.sln. You can find it inside the snowcrash/build directory and open it with your Visual Studio.
Older Versions of Visual Studio
You can control the version of MSVS solution file generated by specifying a MSVC20XX flag while invoking the vcbuild.bat. Run vcbuild.bat /? to see the list of supported MSVC versions.
Snow Crash Integration Tests
Snow Crash integrations tests are done using Cucumber and Aruba. You can find the tests features in the features directory.
In order to run the tests you need to have Ruby and Bundle gem installed on your systems:
Note: You can use ansicon to enhance Cucumber output in the Command Prompt.
Note: If you are running the tests manually using bundle exec cucumber make sure to set ENV['PATH'] to include the directory with snowcrash.exe (done automatically using vcbuild.bat inttest).