-
df-server now supports end-to-end auth, so more advanced spring test setup is needed to support unit testing.
Do the following:
- mock the spring security context with username/password in the StoreI…
-
I have a promise chain that calls two different aws functions sequentially:
```
var dynamo = new AWS.DynamoDB.DocumentClient();
dynamo.get(params).promise()
.then((data) => {
...
return dy…
-
Trying out basic use of tape and aws-sdk-mock but am not able to mock aws. I am initialling the AWS service in the function:
```
...
const AWS = require("aws-sdk");
AWS.config.region = "us-west-2";…
-
Hello,
I can't figure out what is going wrong here. I'm trying to mock SES sendMail, which is used inside the hapi-mail package here: https://github.com/paullang/hapi-mail/blob/master/lib/email-ses…
-
- Unit tests
- Integration tests
- Test if dependabot PRs do not break anything
- Command tests
- Test cogs independent from bot (probably by mocking the API)
-
Hello,
I'm trying to unit test my solution using Moq framework, but since Moq cannot mock non-virtual type members I always get an Unsupported Error Type. Is there any work around for Mock MangoPayAp…
-
Hello
I have basic Rest Client
```
@Path("/extensions")
@RegisterRestClient
interface TestClient {
@GET
fun get(): String
}
```
And basic test (I am trying to mock)
```
@QuarkusTes…
-
Something similar to how it is done in flutter with - `TestDefaultBinaryMessengerBinding.instance!.defaultBinaryMessenger.setMockMethodCallHandler(_methodChannel, _methodHandler);`
Say for example,…
daadu updated
2 years ago
-
I wrote myself a simple do-nothing sample and added basic unit tests that run outside WASM:
https://github.com/christophwille/SpinHello/blob/main/src/Tests/SampleUnitTests.cs
Going one step furt…
-
I use IConfigurationManager to mock configuration, but I found no easy way to mock values stored in configuration sections.
For example, I want to change session timeout during test.
I get session t…