Skip to content
Free planNo credit card requiredStart writing

Search 250 million research papers

Read the abstract, see who wrote it and who cites it, and get the citation in APA, MLA, Chicago or Harvard.

About 10,000 papers for “Unit testing”

Unit Testing

John F. Dooley, Vera A. Kazakova · Apress eBooks · 2024

As was emphasized in the last chapter, nobody is perfect, including software developers. In Chapter 17 , we talked about different things to look for when you know there are errors in your code. Now we’re going to talk about how to determine whether there are errors. Of the three types of errors in your code, the compiler will find the syntax errors and the occasional semantic error. In some language environments, the runtime system will find others (to your users’ chagrin). The rest of the errors are found either through testing or through code reviews and inspections. In this chapter, we’ll discuss testing: what it is, when to do it, how to do it, what your tests should cover, and the limitations of testing. The next chapter will cover code reviews and inspections.

Cited by 0

Unit Testing

Bruce E. Johnson · Apress eBooks · 2020

For the modern application developer, a typical workflow involves a series of steps repeated over and over again. These steps are colloquially known as red/green/refactor. You create a unit test for the functionality under development that fails. This causes a red to appear in the unit test results. Next you write enough code to make the unit test pass, and then rerun all your tests. If all has gone well, you should have a green (all tests pass). The final step is to refactor the code you wrote. Neatening it up. Locate duplicated code and convert it into separate methods. Ensure that coding standards have been adhered to. And when you’re finished, run the tests once more to ensure that they are still green. At this point, the cycle is done… red, then green, then refactor. And this cycle is repeated until development on the current task is complete.

Cited by 0

Unit Testing

D. Strauß · Apress eBooks · 2022

Many developers will have strong opinions on unit testing. If you are considering using unit tests in your code, then start by understanding why unit tests are useful and sometimes necessary.

Cited by 0

Unit Testing

Peter Himschoot · Apress eBooks · 2021

In previous chapters, we have been building a PizzaPlace application, which contains a number of components. We have tested these components by running the application and interacting with it. Here, we will look at writing unit tests for Blazor components using bUnit and MOQ.

Cited by 0

Unit Testing

Walter Cazzola, Walter Cazzola, Walter Cazzola et al. · 2015

Cited by 0

Unit Testing

Jeff Dalton · Apress eBooks · 2018

Unit testing is a technique applied by individual software developers to ensure that the smallest, self-contained pieces of code function as designed and provide the correct results. Because manual unit testing is time and effort intensive, many tools exist to automatically run unit tests based on design elements coded directly within code modules. Continuous Build/Integration tools ensure that code is unit tested with no failures prior to check-in of code.

Cited by 0

Unit Testing

Ted Hagos · Apress eBooks · 2022

Unit testing is writing many small tests. Each test targets a function’s behavior. Unit testing is the kind of testing that’s done by a developer, not the QA.

Cited by 0

Unit Testing

Paul E. Johnson · Apress eBooks · 2017

Unit testing is often omitted from the development cycle of a mobile application (unless you are working in a large team, typically). If you are not in a large team but are essentially the equivalent of the 1980s bedroom coder, why should you unit test when it’s quicker to deploy to a device and see first-hand if something fails?

Cited by 0

Unit Testing

Keith Miller · Encyclopedia of Software Engineering · 2010

Cited by 0

Unit testing.

Mehdi Bouhaddou (4497658), Anne Marie Barrette (4497655), Alan D. Stern (5007110) et al. · Figshare · 2018

<p>A) Ligand-receptor cooperativity for RTK submodel (dots-deterministic simulations; lines- hill equation fit) based on ligand-matched receptor expression (each receptor expressed in isolation and at appreciable levels). B-D) μ-Western blot data (left column) used to train simulated (right column) ERK (B), AKT (C), and mTOR (pEIF4E-BP1) (D) signaling dynamics in the proliferation and growth submodel. Serum and growth factor starved MCF10A cells were stimulated with indicated doses of EGF, insulin, and combinations (High/Low EGF 10/0.01 nM, High/Low Insulin 1721/0.17 nM) for 5, 30, 180, or 360 minutes. E) DNA damage-induced p53 responses to single-stranded breaks (top), double-stranded breaks (middle), and both (bottom), with (red) and without (blue) simulated repair. F) Stochastic simulations for how the number of p53 pulses (top), pulse height (middle) and width (bottom) depend on DNA damage level. G) Increasing amounts of TRAIL (increasingly warmer colors) decreases time to death (as indicated by cPARP spike) exponentially (right panel: red dots-simulation; line-exponential fit). H) Survival after 5 hours TRAIL treatment. Red dots-simulation; red line-sigmoid fit; black dots-flow cytometry data. I) Effects of PUMA, NOXA, ppERK and ppAKT on time-to-death in deterministic simulations. J) Simulated cell cycle initiation by increasing cyclin D mRNA levels in serum-starved cells indicates proper oscillatory behavior of cyclin-CDK complexes.</p>

Cited by 0Open access

Unit Testing

Dirk Strauss · Apress eBooks · 2025

Experienced developers know that in order to maintain the quality of their code is a relentless pursuit. To this end, Unit Testing is one of the most effective tools we have to catch bugs early, refactor code safely, and build software that is as robust as possible.

Cited by 0

Unit Testing

Yiyi Sun · Apress eBooks · 2019

Unit testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation. Many companies and teams apply the test-driven development (TDD) process. Unit testing is important to these companies and teams.

Cited by 0

Unit Testing

Gary McLean Hall · Apress eBooks · 2010

As a discipline, software engineering encompasses many different skills, techniques, and methods. Dabbling with database administration, setting up development and production environments, designing user interfaces are all occasional tasks aside from the primary role of implementing solutions, which is writing code.KeywordsUnit TestVisual StudioCode CoverageCustomer ClassPrivate AddressThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Cited by 1

Unit Testing

Adam Freeman · Apress eBooks · 2019

In this chapter, I show you how to test React components. I introduce a package that makes testing easier and demonstrate how it can be used to test components in isolation and test their interactions with their children. Table 17-1 puts unit testing in context.

Cited by 0

Unit Testing and Integration Testing

Mabrouk Mahdhi · Apress eBooks · 2025

Testing is a cornerstone of modern application development. As applications grow in size and complexity, manual verification becomes insufficient, error-prone, and slow. Automated testing provides a systematic way to ensure correctness, maintain quality, and evolve systems with confidence. In the world of ASP.NET Core, testing is not an afterthought but a built-in part of the framework’s philosophy. Dependency Injection, configuration patterns, and modular design all contribute to making ASP.NET Core applications inherently testable.

Cited by 0