loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Karel Frajták ; Miroslav Bureš and Ivan Jelínek

Affiliation: Faculty of Electrical Engineering, Czech Republic

Keyword(s): User Input Validation, Code Generation, Web Application Testing.

Related Ontology Subjects/Areas/Topics: Software Engineering ; Software Engineering Methods and Techniques ; Software Testing and Maintenance

Abstract: The code written by a software developer is not always flawless. The more code is created the more errors are introduced into the system. In web development different programming languages can be used to implement back–end and front–end sides of the application. For example, it is possible to implement user input validation multiple times — it validates the input values on client–side using JavaScript before the data is sent to server and then the received data is validated again on the server–side. The logic is duplicated, changes made to the validation code must be synchronised on both sides. All implementations must be also unit tested, which increases the time required to create and maintain multiple sets of unit tests. In this paper, we will describe how white–box testing tool Pex can be extended to generate user input validation code for ASP.NET MVC web applications. The validation code won’t be duplicated in JavaScript on the client–side and the application will be pr otected from sending invalid input values from the client–side. The testers can focus on testing using meaningful data input values. Testing of corner cases can be automated thus saving the available resources—testers involved in testing and time spent on testing. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 13.58.188.166

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Frajták, K.; Bureš, M. and Jelínek, I. (2014). Pex Extension for Generating User Input Validation Code for Web Applications. In Proceedings of the 9th International Conference on Software Engineering and Applications (ICSOFT 2014) - ICSOFT-EA; ISBN 978-989-758-036-9, SciTePress, pages 315-320. DOI: 10.5220/0004994103150320

@conference{icsoft-ea14,
author={Karel Frajták. and Miroslav Bureš. and Ivan Jelínek.},
title={Pex Extension for Generating User Input Validation Code for Web Applications},
booktitle={Proceedings of the 9th International Conference on Software Engineering and Applications (ICSOFT 2014) - ICSOFT-EA},
year={2014},
pages={315-320},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004994103150320},
isbn={978-989-758-036-9},
}

TY - CONF

JO - Proceedings of the 9th International Conference on Software Engineering and Applications (ICSOFT 2014) - ICSOFT-EA
TI - Pex Extension for Generating User Input Validation Code for Web Applications
SN - 978-989-758-036-9
AU - Frajták, K.
AU - Bureš, M.
AU - Jelínek, I.
PY - 2014
SP - 315
EP - 320
DO - 10.5220/0004994103150320
PB - SciTePress