T212 : Automating API testing
|
Supervision:
|
||||||
|
Research group:
Declarative Languages and Artificial Intelligence
|
||||||
|
Context:
This project is organised in collaboration with industrial partner 4D vision nv. At 4D vision, we build tailor-made applications for our customers. Over the years, we have built extensive knowledge in building a model that matches the problem at hand. The models are typically data-oriented model (entity-relations), annotated with metadata expressing information on how validate, format, display, etc. the data. Furthermore, we have invested heavily in generating all necessary source code from the database to the user interface. By applying model driven development techniques and automated software generation 4D vision brings custom software within everyone’s reach: fast affordable and result oriented. The skeleton and the architecture of the generated application is always the same, as it is produced by code generation. Today, we build applications composed of the following blocks:
Testing improves the quality of a software application. Our primary strategy of test automation is the use of unit tests. However, the scope of these tests is restricted to the model itself. This means neither the API layer nor the data layer are being tested. Automating such tests is typically labor-intensive. Therefore, we propose to automate the generation of API tests based on a given set of unit tests. |
||||||
|
Aim:
In this thesis, you research and evaluate any prior art which targets this problem. Incorporate the gathered knowledge into a solution that can transform any set of unit tests into a set of API tests. These API tests will of course need sufficient knowledge of the API layer (REST API vs SOAP etc.) in order to correctly make a request to each endpoint. This formulation can be made in a domain-specific language (DSL). The generated API tests must be able to assert the effects in-memory as well as in the data layer. Optional target: provide a strategy for actual end-to-end testing, i.e. tests involving the user interface. These can also be derived from the initial set of unit tests. |
||||||
|
Possible research questions:
|
||||||
|
Approach:
As the industry partner in this thesis, 4D vision appoints a mentor who will guide you towards a successful implementation. You are expected to meet up with the mentor in 4D vision's Antwerp office once every few weeks (travel costs payable by 4D vision). There is the option to do an internship to get to know the code generation framework. |
||||||
|
Relevant literature:
|
||||||
|
Student profile:
This topic is for 1 student(s). This topic can be selected by
|
||||||
|
Clusters, in which this topic appears:
|

