python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k 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
Jest test doesnt wait for a saga to end
Jest for testing,
Redux-Saga
Let's say I have this saga:
export function* callCreateTemplate({payload}){
try{
...
yield delay(1500)
...
}
Don't judge me for having this delay(1500) is related t...
Mauricio Etchevest
Votes: 0
Answers: 1
Testing Toast with Activity Scenario Rule
I am currently new to Android programming and I am trying to test parts of UI using espresso. Currently, I have a problem with a testing toast message.
Toast toast = Toast.makeText(context, R.string.s...
Biggy Poopa
Votes: 0
Answers: 0
authenticate a user inside a test class
I am new to spring boot and testing and I have spring boot app (generated with JHipster) that uses authentication. I need to get the id of the current user.
so this method inside userRepository return...

hakima maarouf
Votes: 0
Answers: 1