Function Tester
-
Upload
shibanichandra -
Category
Documents
-
view
225 -
download
0
Transcript of Function Tester
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 1/16
Maria Mathew
Prashob T.
Shalin S.
Shibani K. Chandra
Shimi C.
Ms. Reshma S. Ravi
FUNCTION TESTERFUNCTION TESTER
Project Under the guidanceof
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 2/16
INTRODUCTIONINTRODUCTION
Ø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 th
.net framework.
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 3/16
OBJECTIVEOBJECTIVE
The project discusses the formulation
of the problem of function testing of large software systems and tools tosolve the formulated problem. Thefocus of the project is on a formulationof software testing for verifyingfunctions of a system or the sub-
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 4/16
FUNCTION TESTINGFUNCTION TESTING
ØPerhaps the most widely used testing
technique.
ØWe test what the program does- Thebasic idea is to identify and then test each
program function thoroughly, one at atime, such that it does what it is supposed
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 5/16
SPECIFICATIONSPECIFICATION
ØHARDWARE
oProcessor : Pentium 3oMain Memory : 128 MBoHard Disk : 100 MB
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 6/16
ØSOFTWAR
oOperating System : Windows Vista,Windows XP or Windows2003 ServeroFront-end : C#.NET
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 7/16
LOADING
EX E
DESIGN- DFDDESIGN- DFD
LOGIN
USERUSER
EX TR ACTIN G
CL ASSE S TEST CASESTEST CASES
TESTING
RESULT
U S ER L I S T
1.Username and password, 2. Parameters , 3.Pass or fail
1
1
23
EX TR ACTIN G
METHO DS
REGI ST ER
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 8/16
DESIGNDESIGN
SPACE FOR UMLSPACE FOR UML
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 9/16
REFLECTION IN C#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
t es and about the assemblies.
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 10/16
WORKINGWORKING
ØLogin with username and password.Login with username and password.
ØLoading an executable file (.NET assembly).Loading an executable file (.NET assembly).
ØExtracting the classes.Extracting the classes.
ØExtracting the functions.Extracting the functions.
ØTest cases.Test cases.
ØTesting.Testing.
ØSaving the test report as XML.Saving the test report as XML.
Phases of
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 13/16
ADVANTAGESADVANTAGES
Ø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Ø
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 14/16
DISADVANTAGES
ØCan test only user defined functions withreturn value.ØInputs to the functions -test cases- have tobe entered manually.
8/14/2019 Function Tester
http://slidepdf.com/reader/full/function-tester 15/16
CONCLUSIONCONCLUSION
The Function Tester is a software to test thefunctions in a .netassembly to confirm that it
does exactly what it is intended to do. Thesoftware loads a .net assembly, test it with thetest cases provided and then saves the testresult as an XML file. We have tried our best to