Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Interview Question

Interview Question

Scheduled Pinned Locked Moved The Lounge
questioncareercollaborationdiscussionlounge
41 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    I don't have a real opinion on the usefulness of unit tests, having never worked anywhere where they succesfuly used them. One of the teams here write unit tests that access real data from a database, perform a myriad of updates and gets to check updates have happened etc. It appears to me this happens because the code developed is not test friendly - so we end up with tests that require a db server, specific datasets installed etc - and are slow as all buggery! And the released code is still of poor quality!

    PooperPig - Coming Soon

    M Offline
    M Offline
    Matt L
    wrote on last edited by
    #41

    That's not a unit test, that's an integration text. My previous job implemented a 80% code coverage rule on a system that had no unit test (or test friendly code) on there. So even if you changes a single character in a method, you needed at least %80 code coverage. Very mixed opionions on the usefulness but after a number of years and after we tied the tests into TFS's nightly builds, it really started to pay dividends. It's a real tough start but I'm all for it. I remember someone wrote a unit integration test that only worked the 4th time is was run because it needed the other tests to populate the DB with enough test accounts for it to work :wtf:

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups