Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.63 KB

COMPATIBILITY_SUITE.md

File metadata and controls

52 lines (33 loc) · 1.63 KB

Servirtium Compatibility Suite Runner

The compatibility suite allows us to check this .NET version of Servirtium against other language implementations. Regular users of Servirtim are unlikely to deploy Servirtium in this configuration. People contributing to Servirtium development will be interested in this.

You'll need to have Docker, Python3 installed in addition to the .NET core SDK 3.1

Running this from a cloned/checked out directory

git clone git@github.com:servirtium/compatibility-suite-runner.git
git clone git@github.com:servirtium/servirtium-dotnet.git
cd servirtium-dotnet
build.bat (or ./build.sh)
docker-compose build
python3 ../compatibility-suite-runner/compatibility-suite.py record -p 61417

That records 16 interactions with our test suite - you'll need to be online

python3 path/to/compatibility-suite-runner/compatibility-suite.py playback -p 61417

That replays the 16 records interactions with our test suite - you can be offline and this will still work

Running this GitHub without cloning

Note 'record' and 'playback' above.

Mac & Linux

As above but the above Python3 line should be

curl -s https://raw.githubusercontent.com/servirtium/compatibility-suite-runner/main/compatibility-suite.py \
  | python3 /dev/stdin record -p 61417  

Repeat the above with 'playback' instead of the 'record'

Windows

TODO

Comparing the output to the reference recording

bash path/to/compatibility-suite-runner/compare_recording_with_reference_case.sh .compatibility_suite_recording.md 

This script will tell you whether the recoding you just made is the same as the reference recording.