scriptcs-contrib / scriptcs-xunit Goto Github PK
View Code? Open in Web Editor NEWA test runner for running xUnit tests authored in script
License: Apache License 2.0
A test runner for running xUnit tests authored in script
License: Apache License 2.0
I know there's no code yet, but this is too good of an idea to not record somewhere.
Every so often, a regression pops up in a big project and it can be tedious to figure out exactly what code introduced the bug. It would be great if there was a clean and simple way to run a unit test against every commit until you find the one that fails.
However, linearly searching the commit history of a big project can be quite time consuming. Thankfully, if the project is git-based, you can use git bisect
to perform a binary search instead.
However, you still have to have to run a test of some kind (with git bisect run
) that will return an exit code that git can pick up on.
It would be totally amazingly awesome if that could be a .csx script containing an xUnit test!
Not only would you avoid having to recompile the test each time, but the script could also potentially perform scenarios that would be otherwise impossible due to breaking changes between versions.
For example, I could write a scripted test that says "If the Foo
property exists, then run the test this way, and if it's not, run it some other way". etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.