Revenir à la page d'accueil
Plan du site   |   Plan d’accès   |   UTBM
  
Projets Européens
Réseaux d'Excellence
Projets Nationaux
Contrats Industriels
Projets thématiques
    ASPECS Methodology
       Introduction
       A quick overview of ASPECS
       System Requirements Analysis
       Agent Society Design
       Implementation
          Holon Architecture Definition
          Code Reuse
          Code Production of Organisations and Roles
          Organisations and Roles Unit Tests
          Code Production of Holons
          Holon Unit Tests
       Deployment
       References
       Comparisons with existing Agent-Oriented Methodologies
Conférences
Séminaires
Accueil > Activités et projets > Projets thématiques > ASPECS Methodology > Implementation > Organisations and Roles Unit Tests
Organisations and Roles Unit Tests

Organisations and Roles Unit Tests

 

The approach used for Test in ASPECS consists in successively testing each context from the role (the smaller one) to the entire system.


Goal

This activity aims at testing behaviours that will be used to compose the system; this means individual behaviours represented by roles and global behaviours corresponding to organisations. Each role is individually tested. Stimuli from other roles defined on the same organisation and stimuli coming from the agent context through capacities are emulated (here the referred agent is the one that should play the role under test). This kind of test involves the definition of stubs and drivers like it happens in conventional object-oriented unit test. Each organisation is then instantiated in a runtime context called group. Each of its role is instantiated. This task consists in validating roles interaction scenarios inside an organisation, stimulus coming from agents contexts are emulated.


Input

Two majors inputs are required for designing test cases: Organisation Identification and Interactions and Roles Identification work products.


Output

A set of test cases (completed of oracles), stubs and drivers for tests execution, test result logs.


Work to be done

From the inputs artefacts it is possible to produce a set of test cases that can verify the obedience of the obtained roles and organisations to the prescribed specifications. Necessary stubs and drivers have to be coded before performing these tests. After writing test cases and coding necessary support elements, tests can be performed and identified failures will lead to new iterations to fix related bugs.

 

 

 

 

  90010 Belfort cedex - Tél : +33 (0)3 84 58 33 19 - Fax : +33 (0)3 84 58 33 42 - Mentions légales