Frameworks

Do We Still Need Orms?

Do you remember the first time you used an ORM (Object Relational Mapper)? For me it was something I wrote to make it easier to map data related to testing electronic devices into a SQL database. Different devices generated different test data, and so I used a convention to map the property names on the classes to the SQL tables and columns. At the time I didn’t even know what an ORM was.

Continue reading

Fixing Intermittent Test Failures With NCrunch

I was working with a company recently where we were using Xunit as our test framework, NSubstitute for mocks, stubs etc and we ran our tests using NCrunch whilst developing in Visual Studio. At one point during the project we noticed that some of our unit tests were failing intermittently. This is more common in longer running integration tests but not so common in unit tests. When we do see this behaviour in unit tests the cause is often shared state being accessed when unit tests are being run in parallel.

Continue reading

BDD frameworks compared - SpecFlow and BDDfy

I first learnt about writing unit tests following a project where we missed the deadline and spent far too long fixing and then refixing the code. I became frustrated that we would fix one thing and then something else would go wrong. When I saw how tools like NUnit and Rhino Mocks gave me the confidence to fix bugs and refactor it genuinely changed my working life. On my next project I determined to write tests as I went along and to be honest I’ve never looked back.

Continue reading

Ready to talk?

As always, the best way to start is with a conversation. Send us your details and let's start talking!

Address

Elastic Mint
13-14 Orchard Street
Bristol
BS1 5EH
UK


Tel: +44 (0)7845 663 874
Email: info@elasticmint.com