jbtule / anyunit Goto Github PK
View Code? Open in Web Editor NEWPortable Class Library Unit Tests: Write Once, Test Everywhere
License: Apache License 2.0
Portable Class Library Unit Tests: Write Once, Test Everywhere
License: Apache License 2.0
PclUnit already uses a lot of the naming in Nunit, however it is missing setup, teardown, testcase attributes and such as they are done differently in pclunit, so this could be mapped more extensively in a separate namespace.
Similar to the already existing PclUnit.Style.Xunit
See Comparison-matrix for attributes.
It's a tricky balance since testfixture will be create and disposed for each test like Xunit anyway. But that's why it's called a style, it will never be exactly the same, it's just to ease porting.
Nunit Constraints are included separately already in Pcl.Constraints
Classic assertion model could be implemented as Extensions on IAssert
Create a satellite runner for pclunit runner to run tests under IOS simulator or Device. This will probably be one of the harder runners because it needs to be AOT compiled and can only run on Mac.
This could be workable on Windows or *nix Mono?
Similar to the existing PclUnit.Style.Xunit,
Add attributes to match up listed in Comparison matrix
create AssertFailedException that extends AssertionException
create AssertInconclusiveException that extends IgnoreException
Add Assert Members as extension methods to IAssert.
For real time test results team city has specific message syntax
This is used in ConventionTestProcessor. However, ConventionTestProcessor checks to see if it's being run by teamcity and automatically adds messages to output, this should probably be a `--teamcity`` flag.
This would give visual studio integration and others.
Just .net 4.0 only version could be useful, or a full aggregate runner if possible
Included just because, and I don't know if it's possible, useful or whatever, but since we target PCL Profile1 which includes XBox I put it in here.
To allow remote runners to be possible, such as phone devices would not match up to localhost and have their own IP address and can't connect to localhost.
May need to worry about built-in firewalls.
Need to put more working into figuring out how to get selfhosting signalr to work on Mono. Have tried nightly builds to no avail, but may need to dev branch from source.
Don't have windows phone tools personally, but this seems doable, should run tests in simulator.
Described here,
http://www.nunit.org/wiki/doku.php?id=dev:specs:xml_formats
Should be doable in the core library using XDocument.
Should be useful especially in CI situations where a signalr runner may be too hard.
Should be method that returns string of xml on PclUnit.ResultFile
While it was cut and paste ported from nunit, and probably works, a paltry 11% test coverage is not enough for a testing framework.
Should be able to send satellites a list of tests to run instead of just telling them to start.
Just going to do .net core instead of winRT
Ability to use most of the satellite runners adhoc as a single platform console test runner
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.