ِAya Nabil Othmanayanabilothman.hashnode.dev·Sep 11, 2024Configure Jest to use it with NodeJS ECMAScript ModulesInitialize your application: npm init To use ES modules, add type: "module" to package.json file. Install Jest npm i jest Initialize Jest npm init jest@latest In jest.config.mjs file: de-comment transform key and assign it a value like tr...Discuss·2 likesJavaScript
Abhishek Sadhwaniabhisheksadhwani.hashnode.dev·Sep 10, 2024React Component Testing: A Complete Guide to Jest and React Testing LibraryAs a developer we want the chances of our program failing to be minimal, that’s why testing is an important part of modern development. In a react application as the complexity of the application increases, it becomes critical to test the working of ...Discuss·11 likesJest
Simon Crowesimoncrowe.hashnode.dev·Sep 7, 2024Python Testing Part 1: isolating external calls and minimising mocksMocks are a necessary evil in Python testing. If overused, they essentially become "change detectors", meaning that every time you refactor the implementation of your code, you must update the mocks too. Ideally, your tests should verify what your co...DiscussPython
Abhayabhayit2000.hashnode.dev·Sep 7, 2024Unit, Integration, and Functional Testing: 4 main points of differenceUnit, integration, and functional testing are crucial components of software application testing. Each of these employs a distinct and unique process to test the application. However, the most important remains functional testing and functional regre...Discussunit testing
Lucas Vera Toroblog.lucasdev.info·Aug 27, 2024Unit Tests That Speak to DevelopersIntroduction At the beginning of my career, I remember my first software company introducing me to "unit tests." Back then, it was literally a checklist of tasks that I had to manually verify before checking in my code to version control. Over time, ...DiscussSoftware Engineeringunit testing
Tarun Sharmatapstechie.hashnode.dev·Aug 26, 2024A Comprehensive Guide to Hypothesis in Python: From Coding Practice to Advanced API TestingIntroduction to Hypothesis Testing is an essential part of software development, but writing exhaustive test cases can be both time-consuming and error-prone. Hypothesis is a powerful Python library that simplifies this process by automatically gener...DiscussPython
Jace Reedjacereed.hashnode.dev·Aug 22, 2024NUnit vs xUnit vs MSTest: Choosing the Best Unit Testing FrameworkTesting is crucial at every stage of software development, including Unit, Integration, API, and End-to-End Testing. For C# developers, NUnit, xUnit, and MSTest are the top choices for testing frameworks. Each has unique features, benefits, and downs...Discussunit testing
Ryan Williamsora-wtf.com·Aug 20, 2024Best Practices for Using utPLSQL for Unit Testing, Documentation, and Reporting in Oracle DatabaseutPLSQL is a powerful unit testing framework for PL/SQL in Oracle databases. It supports a wide range of testing capabilities, including assertions, test suites, code coverage analysis, and more. Below are best practices for using utPLSQL effectively...Discussunit testing
Gilles TOURREAUProgilles.tourreau.fr·Aug 20, 2024Simplifying Data Conversion: A Testable Approach for Entity Models and DTOsIn many applications, converting data from one format to another is a common task. For instance, you might need to convert a business entity object into JSON or vice versa. Many developers use extension methods like ToJson() or ToModel() for this con...Discuss·42 readsdto
Abhishek kushwahaforKeploy Community Blogkeploy.hashnode.dev·Aug 19, 2024A Guide to Testing React Components with Jest and React Testing LibraryTesting is checking if your code works the way it's supposed to. When you write a program, you have an idea of what it should do. Testing is the process of making sure it does that. It's like double-checking your work. In this article, we're diving i...DiscussReact