Вы находитесь на странице: 1из 16

FUNCTION TESTER

Project Under the guidance


Members of
 Maria Mathew
Ms. Reshma S. Ravi
 Prashob T.

 Shalin S.

 Shibani K. Chandra

 Shimi C.
INTRODUCTION

ØFunction tester tests the functions in a


.net assembly.
ØBased on black box testing.
ØIntended audience: Software developers.
ØProgramming language used: C#
ØBased on the Reflection functionality of the

.net framework.
OBJECTIVE

The project discusses the formulation


of the problem of function testing of
large software systems and tools to
solve the formulated problem. The
focus of the project is on a formulation
of software testing for verifying
functions of a system or the sub-
system.
FUNCTION TESTING

ØPerhaps the most widely used testing


technique.

ØWe test what the program does- The


basic idea is to identify and then test each
program function thoroughly, one at a
time, such that it does what it is supposed
to do and does not do anything else.
SPECIFICATION
ØHARDWARE

oProcessor : Pentium 3
oMain Memory : 128 MB
oHard Disk : 100 MB
ØSOFTWAR
E

oOperating System : Windows Vista,


Windows XP or Windows
2003 Server
oFront-end : C#.NET
oBackend : SQL Server
DESIGN- DFD
REGI ST ER 1 USER L IST
USER
1

LOGIN
EX TR AC TIN G
TE STING
ME THO DS

2 3
LOADI NG EX TR AC TIN G
CL ASSE S TEST CASES RES ULT
EX E

1.Username and password, 2. Parameters , 3.Pass or fail


DESIGN

SPACE FOR UML


REFLECTION IN C#
Reflection –feature of .Netframework which provides
a powerful way of collecting and manipulate information
present in application's assemblies and its metadata.
Metadata contain all the Type information used by the
application. The ability to obtain information at
runtime also makes it even more advantageous. When
reflection is used along with system.type, it allows the
developer to get the valuable information about all the
types and about the assemblies.
WORKING
Phases of
Implementation
ØLogin with username and password.

Ø Loading an executable file (.NET assembly).

Ø Extracting the classes.

Ø Extracting the functions.

Ø Test cases.

Ø Testing.

Ø Saving the test report as XML.


screenshots
ADVANTAGES

ØImprove code reliability


ØIdentify errors hidden in existing applications
ØWorks with any programming language that
targets the
.NET Framework, including Microsoft Visual
C#.NET,
Visual Basic .NET, and managed Visual C++
.NET.
Øcan be evolved into an online version.
ØSecurity features enabled
DISADVANTAGES

ØCan test only user defined functions with


return value.
ØInputs to the functions -test cases- have to
be entered manually.
CONCLUSION

The Function Tester is a software to test the


functions in a .netassembly to confirm that it
does exactly what it is intended to do. The
software loads a .net assembly, test it with the
test cases provided and then saves the test
result as an XML file. We have tried our best to
make this software efficient and easy to use.
REFERENCE

ØThe Fundamentals ofSoftwareEngineering By


Rajib Mall

Øwww.codersource.net/published/view/291/refle
ction_in.aspx

Ømsdn.microsoft.com/en-
us/library/ms173183(VS.80).aspx

Вам также может понравиться