Tag: tdd
Posts of Tag: tdd
  1. Unit Testing in Java with JUnit 5

    Unit Testing in Java with JUnit 5 Introduction JUnit is a popular testing framework for Java. Simple use is very straightforward and JUnit 5 brought some differences and conveniences compared to JUnit 4. The te...Learn More
    JavatestingtddProgramming Languages
  2. Using Spies for Testing in JavaScript with Sinon.js

    Using Spies for Testing in JavaScript with Sinon.js Introduction In software testing, a "spy" records how a function is used when it is tested. This includes how many times it was called, whether it was called ...Learn More
    NodejsJavaScripttooltestingtddFrameworkProgramming Languages
  3. Spring Cloud: Contract

    Spring Cloud: Contract Overview In this article, we'll introduce you to Spring Cloud Contract, which is Spring's response to Consumer-Driven Contracts. Nowadays, applications are thoroughly tested - whether it ...Learn More
    JavaSpringSpring BoottestingtddcloudProgramming Languages
  4. Using Mocks for Testing in JavaScript with Sinon.js

    Using Mocks for Testing in JavaScript with Sinon.js Introduction Test "mocks" are objects that replace real objects while simulating their functions. A mock also has expectations about how the functions being t...Learn More
    NodejstestingtooltddJavaScriptFrameworkProgramming Languages
  5. Guide to Unit Testing Spring Boot REST APIs

    Introduction Testing the system is an important phase in a Software Development Life Cycle (SDLC). Testing promotes code reliability, robustness, and ensures high-quality software delivered to clients if implem...Learn More
    JavamockitojunitSpringtestingtddrestAPIProgramming Languages
  6. End-to-End Testing in JavaScript with Cypress

    Introduction End-to-end test automation is an important part of the development lifecycle of any web based application. Choosing the right tool for you and for your application is arguably even more important. ...Learn More
    JavaScripttddtestingProgramming Languages
  7. Unit Testing React Components

    Unit testing is a great discipline which can lead to 40%-80% reductions in bug density. Unit testing also has several other important benefits: Improves your application architecture and maintainability. Lead...Learn More
    NewsProgrammingtddJavaScriptsoftware developmentTechnologyBlogDevProgramming Languages
  8. How to mock a function from module

    If you have something like: var myFunction = function(...){ ... }; var myFunction2 = function(...){ myFunction(); }; exports.myFunction = myFunction; exports.myFunction2 = myFunction2; Then you try testi...Learn More
    NewstestingJavaScripttddsoftware developmentBlogProgramming Languages
  9. Rethinking Unit Test Assertions

    Well written automated tests always act as a good bug report when they fail, but few developers spend time to think about what information a good bug report needs. There are 5 questions every unit test must an...Learn More
    NewsTechnologyJavaScripttddUnit TestingBlogProgramming Languages
  10. How to do TDD in Android ? Part 1 — Overview

    Tutorial series for android automation testing . Using JUnit & Espresso . Automation tests are important as it ensures quality while developing application.TDD enforces writing tests before writing implementat...Learn More
    NewsAndroid App DevelopmenttddAndroidDevMobile Automation TestingAndroidBlogDev
  11. Building Rails Engines/Ruby gems — The TDD Way

    Developing software with Ruby is fun because you can build something with less code. It is fun, until you encounter bugs or errors in your code. Adopting Test-Driven Development (TDD) can boost your team’s prod...Learn More
    NewsFactorybottddRspecRuby on RailsRubyBlog
  12. Setting up a large scale React application

    This post is based on the series of posts: Modernizing a jQuery frontend with React. If you want to get a better overview of the motivation for this post we recommend you first read our initial post. Nowadays,...Learn More
    NewstypescripttddJavaScriptReactProgrammingBlogProgramming LanguagesFrameworkDev