Planning and Automating the Generation of Test Cases analysis using sequence diagram

  • Antonio Carlos Silva UNIVALI
  • Fabiane Barreto Vavassori Benitti UNIVALI / FURB

Abstract


One of the initial tests applied to a software is the unit test that happens right before the total codification of the system. This paper proposes the use of sequence diagram as a visual language to define the test cases, allowing to documenting them regardless of the language of implementation. This paper also proposes a tool which supports this definition along with a case study to demonstrate the proposed artifact viability.
Keywords: Planning, Automation, Unit Test Cases, Sequence Diagram

References

Astels, D. (2003) Test Driven development: a practical guide, Prentice Hall.

Badri, M., Badri, L. e Bourque-Fortin, M.; (2005) Generating unit test sequences for aspect-oriented programs: towards a formal approach using UML state diagrams. In 3rd International Conference on Information and Communications Technology. p. 237 – 253. Coimbatore, India.

Beck, K. (2002) Test driven development: by example, Addison-Wesley.

Biasi, L. e Becker, K. (2006) Geração automatizada de drivers e stubs de teste para JUnit a partir de especificações U2TP. In Proceedings of Brazilian Symposium of Software Engineering (SBES), Florianópolis – Santa Catarina.

Hetzel, W. (1987) Guia completo do teste de software, Campus.

IEEE (1986) IEEE standard for software unit testing.

IEEE (2006). A survey of unit testing practices. In IEEE Software, v 23, Issue 4, p. 22 – 29, July-Aug.

Linzhang, W.; Jiesong Y.; Xiaofeng Y.; Jun H.; Xuandong L.; Guoliang Z. (2004). Generating test cases from UML activity diagram based on Gray-box method. In 11th Software Engineering Conference. p. 284 – 291. Asia-Pacific.

Macgregor, J. e Sykes, D. (2001) A Practical guide to testing object-oriented software, Addison-Wesley.

Maldonado, J. C. e Fabbri, S. C. P. F. (2001) Teste de software. In: Rocha, A. R. C. da;

Maldonado, J. C.; Weber, K. C. (Coord.). Qualidade de software: teoria e prática. São Paulo: Prentice Hall, p. 73-84.

Thomas, J., Young, M., Brown, K. e Glover, A. (2004) Java testing patterns, John Wiley.
Published
2008-06-02
SILVA, Antonio Carlos; BENITTI, Fabiane Barreto Vavassori. Planning and Automating the Generation of Test Cases analysis using sequence diagram. In: BRAZILIAN SOFTWARE QUALITY SYMPOSIUM (SBQS), 7. , 2008, Florianópolis. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2008 . p. 187-200. DOI: https://doi.org/10.5753/sbqs.2008.15543.