New toys in dev's
testing toolbelt
Paweł Łukasik
LoGeek - Wrocław, 22.05.2014
... and
problems I have
with them
About.me
- passionate-programmer
- Wroc.NET co-founder & UG speaker
- > 10 yrs writing code
- almost 5 yrs with my own company
TESTS
are
outside our flow
Testing process today (TDD style)
- Write the test
-
Stop and run the test
- Write the code under test
-
Stop and run tests
- Refactor the code under test
-
Stop and run tests
- Drink some coffee and repeat
NCrunch is an automated concurrent testing tool for Visual Studio.
Testing process with nCrunch
- Write the test
- Write the code under test
- Refactor the code under test
-
Be happy, drink some coffee and repeat!
TESTS
no longer
disturbs
our flow
Any solutions
for the painfulness
problem?
Automated white-box testing for .NET
How does PEX works?
-
Chooses a branch that was not covered previously.
-
Builds a constraint system that describes how to reach that branch.
-
Uses a constraint solver to determine new test inputs that fulfill the constraints, if any exist.
TESTS
no longer
painful
(to write a good one)
TESTS
are
still
important :)
.SUM()
- No, I'm not selling those products :)
- Yes, nCrunch is pricey - if you like the idea - try MightyMoose
- PEX has it drawbacks but they working on them - new code name: "Code Digger"
- If you like puzzles - try pexforfun.com
Thank you!
Feedback:
Twitter: @pawel_lukasik
mail: pawel@octal.pl
Sources: