question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Built-in testing?

See original GitHub issue

Might be helpful. My idea is basically a @remix-run/test package with all the utilities.

  • Built on top of @testing-library/react and re-exports everything + a custom render that includes all providers our route components have access to when they’re run + any utilities to set the loader/action data both on initial render as well as re-rendering with those values.
  • @testing-library/user-event should be built-in as well
  • As @sergiodxa suggested, Jest assertions for Responses
  • Potentially some helpers for E2E tests with Cypress and MSW 🤔

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:119
  • Comments:35 (20 by maintainers)

github_iconTop GitHub Comments

40reactions
kentcdoddscommented, Feb 13, 2022
31reactions
kentcdoddscommented, Dec 30, 2021

I’ve been on break. I’ll update this issue when there are updates. No need to ask 😁

Read more comments on GitHub >

github_iconTop Results From Across the Web

Built-in self-test - Wikipedia
A built-in self-test (BIST) or built-in test (BIT) is a mechanism that permits a machine to test itself. Engineers design BISTs to meet...
Read more >
Built-in Test - an overview | ScienceDirect Topics
The built-in test module micinfo checks whether the coprocessor information is correct and uniform across nodes. Any error, undefined value, ...
Read more >
What Is Automation Testing? (Definition, Types) | Built In
Automation testing describes a tool or a process where the computer runs multiple tests on various parts of a software with minimal or...
Read more >
What is built-in testing support in GO? - Educative.io
Go has built-in support for testing using the testing package. Usage. Package testing provides support for automated testing of Go code.
Read more >
Builtin Node.js Testing - Whistlr
Builtin Node.js Testing. As of Node.js 18, which became stable in April 2022, you can test your backend code without installing any dependencies....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found