Categorize your integration tests

I believe it is important to categorize integration tests in terms of their granularity. I mean grouping the tests that are coarse-grained aside from the fine-grained ones. This way, when big changes are made (changing the framework/platform behind your app) and lots of integration tests are broken, we know what to fix first. Most of the times, fixing the fine-grained tests also fix the others. If all the integration tests are in the same package/module, it is really tough to know what to fix first. There is no plan, just fix a test and run again. As integration tests are slow, it takes a lot of time to run them every time you fix one of a bunch of them.

A fine-grained integration tests can be for instance the one that makes a query against the database or ORM and return the appropriate result. On the other hand, a coarse-grained test might be the one that crosses several methods in different classes.

  • Pingback: Categorize your integration tests()

  • buy air bag suspension

    im drunk!!!! pretty much!!!!<i dont kno how much but im pretty drunk!! but i feel that y feelings have to be reported on par with the so callled feelings of the intellectual peopls Slumdog millionairess is a wonderful film bout human relationships tht fuckng no true indian would hve thgt apon!!! no true indian would have had the gumption to think about the the idea that a story of hope and survival could be derived from the day to day existence of the people from day to day existence in indian metropolitan cities. just to think about jamal and his story givs gooose bumps to me, so it does witrh ultimate number of people across the world, cos, its story of human spirit concouring the machine way of doing things!!!Jai ho!!!Im drunk!!!

  • location appartement

    yop les gens j’aime bien cette facon de voir les chose ce commentaire mais l’ immobilier est mon probleme.

  • ugg sale

    Here??????s a comment. Great advice =) Thanks

  • steven

    Can I just say what a reduction to search out somebody who really is aware of what theyre speaking about on the internet. You definitely know tips on how to convey a difficulty to gentle and make it important. More individuals must learn this and understand this aspect of the story. I cant believe youre no more in style because you definitely have the gift.