About 8,430,000 results
Open links in new tab
  1. What is unit testing and how do you do it? - Stack Overflow

    Mar 16, 2009 · Exact duplicate of many posts: What is unit testing? What Makes a Good Unit Test? New to Unit Testing Unit Testing - definitions Learning Unit Testing How to properly …

  2. Unit Testing SQL Queries with Dapper - Stack Overflow

    I want to test the queries and the data retrieved by them using Dapper. For example, I have the UserService with the method GetAll(), and I want to test that the SQL query is retrieving all the …

  3. testing - What is the difference between unit tests and functional ...

    A well explained real-life analogy of unit testing and functional testing can be described as follows, Many times the development of a system is likened to the building of a house. While this …

  4. What's the difference between unit tests and integration tests?

    What's the difference between unit tests and integration tests? Are there different names for these tests? Like some people calling unit tests functional tests, etc?

  5. unit testing - When should I mock? - Stack Overflow

    Sep 1, 2008 · I have a basic understanding of mock and fake objects, but I'm not sure I have a feeling about when/where to use mocking - especially as it would apply to this scenario here.

  6. How to unit test with ILogger in ASP.NET Core - Stack Overflow

    Apr 15, 2017 · Can you give an example of how this would work? When unit testing, I'd like logs to appear in the output window, I'm not sure if this does that.

  7. Writing unit tests in Python: How do I start? - Stack Overflow

    Jul 30, 2010 · Now writing the unit tests or not is your call. You just need to be aware that it could be a tedious task. You might tackle this to learn unit-testing or consider writing acceptance …

  8. C# "internal" access modifier when doing unit testing

    Worth mentioning - you can often avoid the need for unit testing your internal methods by using System.Diagnostics.Debug.Assert() within the methods themselves.

  9. testing - What are the differences between unit tests, integration ...

    Jul 18, 2019 · What are unit tests, integration tests, smoke tests, and regression tests? What are the differences between them and which tools can I use for each of them? For example, I use …

  10. testing - Unit Tests vs. Acceptance Tests - Stack Overflow

    Unit tests - check that my divide and multiply functions work correctly, my square root works correctly, my add and subtract work correctly. Acceptance tests - check that my application …