Telerik blogs

Latest

For the latest product updates, please visit Release.

  • Productivity Testing

    Data Driven Testing: What’s a Good Dataset Size?

    I thought I’d follow up that last post on Using Data Driven Testing Wisely with something specific around the size of the dataset for a data driven test (DDT). What’s a good size for a DDT? As with everything in software engineering/testing, the answer is “42.” That, or “It depends.” In all seriousness, the right size of a dataset for a carefully thought out scenario does indeed depend. My payroll algorithm in the last post was a simple test set. You may be working something much more complex relating to finance, rocket science, or environmental controls. Every situation’s different, but ...
    May 27, 2021 2 min read
  • Productivity Testing

    Asserting Behavior with JustMock

    JustMock is a great tool for abstracting dependencies in unit tests, and the new automocking feature makes it even faster to develop unit tests.  Another great feature in JustMock and JustMock Lite is the capability to assert the behavior of your system under test.  Traditional TDD (Test Driven Testing) unit testing typically tests for state.  Did the user get logged in? Did the user’s shopping cart get loaded?  Important tests, of course.  But that only tests the end result of the method.  If the user does NOT successfully login, and the cart is not reloaded, is that because the call to the repository was never called? Or because some error happened that didn’t reload the cart in this particular use case?  The state of the application is correct, but is that because it executed the expected behavior, or because we got lucky? 
    May 27, 2021 5 min read
  • Productivity Testing

    Testing Trends in 2013

    [Updated: Fixed grammar foul on ‘Tenants’ vs. ‘Tenets’.] 2012 is drawing to a close, and apparently all the worry about the Mayan calendar not extending past today is thankfully misplaced! The ending of a year is a good time for some introspection, and some thinking about what’s in store for the next year. Lots of smart folks in the testing field have their own opinions about what we’ll see (or won’t!) next year, but here are a few of my thoughts. Keep in mind this list is totally in line with my own very opinionated biases! Whole Team Testing This ...
    May 27, 2021 4 min read
  • Productivity Testing

    Mocking Constructors with JustMock

    In .NET there are two types of constructors, instance constructors and static constructors. Instance constructors are called when objects are instantiated, while static constructors get called before any member of the class is invoked for the first time.
    May 27, 2021 3 min read
  • Productivity Testing

    Test Studio Workshop Needs You

    Hi everyone! So the initial cycle of four workshops just ended! A big "THANK YOU" to all who attended. In the span of four weeks we covered four topics: How to Record a Login Test How to automate HTML popups How to automate HTML frames How to extend Test Studio (i.e. Test Studio plugins) Did you miss any of those "How to's ? Not to worry - we have them up on Telerik TV so you can check them out right here. These videos were recorded live during the actual workshops sessions.  Personally, I'm happy with the way the ...
    May 27, 2021 2 min read