Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E test: Run Word Count Example #175

Open
MonsJovis opened this issue Feb 3, 2016 · 3 comments
Open

E2E test: Run Word Count Example #175

MonsJovis opened this issue Feb 3, 2016 · 3 comments
Assignees
Labels

Comments

@MonsJovis
Copy link
Contributor

depends on #172

@MonsJovis
Copy link
Contributor Author

@whoww @Fabsi110

Um mit dem End-to-end-Test auch die Schnittstelle zum Backend testen zu können, bräuchten wir nach meiner Logik folgende Abfolge:

  1. Backend starten
  2. grunt test ausführen
  3. Backend stoppen

Irgendeine Idee das mit maven hinzubekommen?

@Fabsi110
Copy link
Contributor

Fabsi110 commented Feb 9, 2016

Das sollten wir eigentlich schon haben. Dieser Ausschnitt aus der pom.xml führt grunt test aus, noch während der generate-resources Phase.

<execution>
        <id>grunt test</id>
        <goals>
            <goal>grunt</goal>
        </goals>
        <phase>generate-resources</phase>
        <configuration>
             <arguments>test --no-color</arguments>
        </configuration>
</execution>

Wenn maven clean package ausgeführt wird, wird in dem Output auf der Konsole der Befehl auch angezeigt. Sieht einfach so aus als gäbe es noch keine Tests, oder?!

[INFO] selenium standalone is up to date.
[INFO] chromedriver is up to date.
[INFO]
[INFO] --- frontend-maven-plugin:0.0.26:grunt (grunt test) @ flink-visual-programming ---
[INFO] Running 'grunt test --no-color' in C:\Users\Fabian\GitProjects\flink-visual-programming\client
[INFO] Running "clean:server" (clean) task
[INFO] >> 1 path cleaned.

@MonsJovis
Copy link
Contributor Author

ne, ich meinte jetty zu starten und zu stoppen. hatte ich mich blöd ausgedrückt. hab aber eine lösung gefunden und den PR angefangen. Siehe #187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants