python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to use mocks in tests with Adonis 5 (adonisjs/fold package)?
I have an API built with Adonis 5 (core version 5.4.0). The tests are made with Adonis' own runner, japa (version 3.1.1).
As per the Adonis documentation, I build my tests to interact with a real test...
Ernani
Votes: 0
Answers: 1
react-redux mock subscribe useStore in reactJS
This is the element where the component logic is built, the value fragments to understand the situation
import { useStore } from ‘react-redux’;
const reduxStore = useStore();
useLayoutEffect(() => ...
Deiver Garcia
Votes: 0
Answers: 0
Python3 unit tests for API
I could use some much needed guidance on unit tests for python3
All my files are in the same directory. No Sub folders.
Params is a class that gets initialized in the script. FILE 1 works fine connect...
Dawson
Votes: 0
Answers: 1
Return updated struct from its methods for testing?
I'm trying to do some TDD with rust and I have to add a simple abstraction to make
the code agnostic for multiple "backends". The backends need an init function for setup (they perform a con...
giusdp
Votes: 0
Answers: 1