Automock Automated Mock Backend Generation for JavaScript based Applications

Modern web development is an intensely collaborative process. Frontend Developers, Backend Developers and Quality Assurance Engineers are integral cogs of a development machine. Frontend developers constantly juggle developing new features, fixing bugs and writing good unit test cases. Achieving this is sometimes difficult as frontend developers are not able to utilize their time completely. They have to wait for the backend to be ready and wait for pages to load during iterations. This paper proposes an approach that enables frontend developers to quickly generate a mock backend that behaves exactly like their actual backend. This generated mock backend minimizes the dependency between frontend developers and backend developers, since both the teams can now utilize the entire sprint duration efficiently. The approach also aids the frontend developer to perform quicker iterations and modifications to his or her code.

[1]  Frank Tip,et al.  A framework for automated testing of javascript web applications , 2011, 2011 33rd International Conference on Software Engineering (ICSE).

[2]  Shriram Krishnamurthi,et al.  Flapjax: a programming language for Ajax applications , 2009, OOPSLA 2009.

[3]  Xiangyu Zhang,et al.  Statically locating web application bugs caused by asynchronous calls , 2011, WWW.

[4]  Valentin Dallmeier,et al.  WebMate: a tool for testing web 2.0 applications , 2012 .

[5]  Tommi Mikkonen,et al.  Rolling Out a Mission Critical System in an Agilish Way. Reflections on Building a Large-Scale Dependable Information System for Public Sector , 2015, 2015 IEEE/ACM 2nd International Workshop on Rapid Continuous Software Engineering.

[6]  Eleni Stroulia,et al.  Automated Acceptance Testing of JavaScript Web Applications , 2012, 2012 19th Working Conference on Reverse Engineering.

[7]  Arie van Deursen,et al.  Invariant-based automatic testing of AJAX user interfaces , 2009, 2009 IEEE 31st International Conference on Software Engineering.

[8]  Karthik Dinakar Agile development: overcoming a short-term focus in implementing best practices , 2009, OOPSLA Companion.

[9]  Danielle Hope Request , 2011, BMJ Supportive & Palliative Care.

[10]  Ali Mesbah,et al.  JSEFT: Automated Javascript Unit Test Generation , 2015, 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST).

[11]  E. Michael Maximilien,et al.  A brief report on working smarter with Agile software development , 2010, IBM J. Res. Dev..

[12]  Jesse James Garrett Ajax: A New Approach to Web Applications , 2007 .