Coder Social home page Coder Social logo

demo-spring-react-example's People

Contributors

andrewhlu avatar btk5h avatar pconrad avatar phtcon avatar sethvanb avatar

demo-spring-react-example's Issues

Spike on Adding end2end testing with TestContainer and Playwright

A missing piece of our toolchain is a good approach to end-to-end testing.

I suggested incorporating Cypress, but Bryan suggested Playwright instead:

The AC for this issue is:

  • There is an example of how to do end2end tests (using Playwright) starting with our demo-spring-react-example repo.

The "right" way to do this seems to have something to do with "TestContainers", which have something to do with Docker.

This is everything I know right now.

Add simple smoke test

It would be helpful to have a simple smoke test to build on

https://github.com/ucsb-cs156/demo-spring-react-example/blob/main/.github/workflows/40-check-production-build.yml

that checks whether the home page loads successfully. It doesn't even need to log in—which is part of the biggest challenge with setting up integration testing. Just needs to see if the entire mvn spring-boot:run can load without crashing, including building and launching the frontend.

A simple test that the "brand" and "navbar" are present would catch errors where the database fails to load, because there are errors in entities and repository files (that are not caught at compile time, and may not be caught by unit tests.)

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.