Giter VIP home page Giter VIP logo

Comments (6)

malcolm-kee avatar malcolm-kee commented on August 23, 2024 1

I'll try to setup for my project and contribute once I figure it out.

from testing-nestjs.

malcolm-kee avatar malcolm-kee commented on August 23, 2024

@jmcdo29 Are we looking at including test coverage for the setup, or we're just looking at able to run the e2e test as starter?

from testing-nestjs.

jmcdo29 avatar jmcdo29 commented on August 23, 2024

As a start, just ensuring they run properly. Coverage can be updated later

from testing-nestjs.

malcolm-kee avatar malcolm-kee commented on August 23, 2024

Manage to get something working for my project here: https://github.com/malcolm-kee/dine-in/blob/master/.github/workflows/e2e-test.yaml

@jmcdo29 do you have any suggestion for the examples of the container-ized tests? Should we create separate example or we use existing sample by adding more configuration/code?

from testing-nestjs.

jmcdo29 avatar jmcdo29 commented on August 23, 2024

@malcolm-kee I kind of like using the existing samples, but if it is easier to create a separate sample, then let's go with that if it will still be extensible.

from testing-nestjs.

malcolm-kee avatar malcolm-kee commented on August 23, 2024

Thinking out loud on the E2E Testing example. @jmcdo29 If you have any idea to simplify it, that would be great!

2 Apps Will Be Created

  • e2e-example-redis-publisher have a single REST endpoint, which when called will publish an event to redis
  • e2e-example-redis-subscriber will listen to the event from redis and save the data in mongoDB. It also expose a single REST endpoint which can be called to retrieve the saved data.

Dockerfile on how to build each apps will be available in their respective folder.

A e2e-testing folder will be added for E2E test scripts

The endpoints of the request will be injected by environment variables.

A single docker-compose.yaml file in the project root

  • The apps and the test scripts will be listed here. We'll let Docker Compose to figure out which apps to bring up when we docker-compose run in GitHub Actions.

from testing-nestjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.