Call for Paper - May 2023 Edition
IJCA solicits original research papers for the May 2023 Edition. Last date of manuscript submission is April 20, 2023. Read More

Generation of String Test Input from Web using Regular Expression

Print
PDF
International Journal of Computer Applications
© 2014 by IJCA Journal
Volume 99 - Number 18
Year of Publication: 2014
Authors:
Sneha Shelke
Sangeeta Nagpure
10.5120/17476-8375

Sneha Shelke and Sangeeta Nagpure. Article: Generation of String Test Input from Web using Regular Expression. International Journal of Computer Applications 99(18):44-46, August 2014. Full text available. BibTeX

@article{key:article,
	author = {Sneha Shelke and Sangeeta Nagpure},
	title = {Article: Generation of String Test Input from Web using Regular Expression},
	journal = {International Journal of Computer Applications},
	year = {2014},
	volume = {99},
	number = {18},
	pages = {44-46},
	month = {August},
	note = {Full text available}
}

Abstract

To generate realistic test data is a challenging for software testers. Realistic test data generation for certain input type is hard to automate and therefore laborious. So in this paper, string inputs will be used from the internet by performing web queries based on the key identifiers appearing in the source code of the program under test. The resultant URLs will be generated, tokenised and the collected regular expressions are matched with the text and get valid string values.

References

  • Phil McMinn, "Search-Based Software Testing: Past, Present and Future", University of Sheffield, Department of Computer Science Regent Court, 211 Portobello, Sheffield, S1 4DP, UK
  • P. McMinn, "Search-based software test data generation: A survey," Software Testing, Verification and Reliability, vol. 14, no. 2, pp. 105–156, 2004.
  • M. Bozkurt and M. Harman, "Automatically generating realistic test input from web services," in International Symposium on Service-Oriented System Engineering, 2011.
  • M. Alshraideh and L. Bottaci, "Search-based software test data generation for string data using program-specific search operators," Software Testing, Verification and Reliability, pp. 175–203, 2006.
  • Mark Harman, Phil McMinn, Jereson Teixeira de Souza, and Shin Yoo, " Search Based Software Engineering: Techniques, Taxonomy, Tutorial
  • P. McMinn, M. Shahbaz, and M. Stevenson. "Search-based test input generation for string data types using the results of web queries". In ICST, pages 141–150, 2012.
  • Software testing. http://en. wikipedia. org/wiki/Software_testing
  • Automation. http://en. wikipedia. org/wiki/Test_automation
  • JSoup. http://www. jsoup. org.
  • S. Butler, M. Wermelinger, Y. Yu, and H. Sharp. Improving the tokenisation of identifier names. In ECOOP, 2011.
  • Aditya P. Mathur. Foundations of Software Testing. Addison-Wesley Professional, 1st edition, 2008.
  • M. Harman and P. McMinn. A theoretical and empirical study of search-based testing: Local, global and hybrid search. IEEE Transactions on Software Engineering, 36:226–247, 2010.