Purchase Solution

Testing Code for ATM machine - JUnit Test Framework

Not what you're looking for?

Ask Custom Question

Hi,
I need assistance in the following problem:
Our project is to design a JUnit (CUnit or CppUnit) test framework. If I am good at C, C++, or Java (I am not good in any of them), I can write the ATM machine itself and Unit test in real source code. However, As I am not good at programming, you can use pseudo-code to write the ATM machine and then design the test cases (that should be similar to the test cases in the following link article). After I finish the real code or pseudo-code, I need to discuss the coverage analysis. That is, will my test case be sufficient to cover all possible cases? In another word, if the program passes the Unit test, will that guarantee that the code is faulty-free? I am also enclosing the sample ATM code in this regard. If I use this code for the project, then I only need to design the test case for it.

Reference article: http://junit.sourceforge.net/doc/testinfected/testing.htm

Regards,

Attachments
Purchase this Solution

Solution Summary

This solution deals with the test framework using JUnit for an ATM machine. This deals with the preparation of test cases as well as coverage analysis.

Purchase this Solution


Free BrainMass Quizzes
C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Networking Questions

This quiz consists of some basic networking questions.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C# variables and classes

This quiz contains questions about C# classes and variables.

Javscript Basics

Quiz on basics of javascript programming language.