Skip to content

Test multiple increment in incremental mode #71

@fdelbrayelle

Description

@fdelbrayelle
Overview of the issue

It should have some tests in app.spec.js to test multiple loop increment in incremental mode.

Motivation for or Use Case

Currently there is only tests for one loop turn in incremental mode. This is configured like this in app.spec.js:

continueAddingEntitiesComponents: false
Suggest a Fix

Add some tests with:

continueAddingEntitiesComponents: true

And find a trick to loop in incremental mode in test scope like call again helpers in the 'end' event like this:

                .on('end', () => {
                    helpers
                        .run(path.join(__dirname, '../generators/upgrade'))
                        // ...
                        .on('end', done);
                });
JHipster Version(s)

6.9.0

  • Checking this box is mandatory (this is just to show you read everything)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions