-
We have a messenger test, that predicts 2 calls using prophecy-phpunit.
these two calls are part of a message handler:
```php
$this->appLogger->debug('RECEIVED MESSAGE');
// ...
$this->appLog…
zolex updated
1 month ago
-
**Describe the bug**
Running any simple tet on pistols consumes 18-20GB of RAM
**To Reproduce**
* clone [pistols](https://github.com/underware-gg/pistols)
* `cd dojo`
* `sozo test -f test_ini…
-
Currently, RSpec mocks are disallowed by the [Sorbet](https://sorbet.org) runtime system.
A [relevant design justification](https://stackoverflow.com/questions/56742572/how-to-use-sorbet-type-check…
-
**Is your feature request related to a problem? Please describe.**
The 7.0 version of RSpec Rails introduced https://github.com/rspec/rspec-rails/pull/2745 by @odlp which is overall a great addit…
-
## Driver version
8.2.2.jre8
## SQL Server version
Microsoft SQL Server 2019 (RTM-CU28) (KB5039747) - 15.0.4385.2 (X64) Jul 25 2024 21:32:40 Copyright (C) 2019 Microsoft Corporation Develope…
-
A fold is a portion of a best route that doubles back on itself. A fold usually indicates an unnecessary loop in the best route. In the case of a single-line road, the route doubles back on the same l…
-
Ran into this issue today, which I've reproduced approximately here:
``` ruby
class Foo
def self.find
new
end
def bar
'bar'
end
end
class Baz
def qux
Foo.find.bar
'qux'
…
-
1. Create methods for +, -, * and / and make them take two doubles as parameters and return a result.
2. Unit test these methods
-
rspec test double framework with stubs and mocking:
- doubles: definiere das Verhalten fürs doubles
allow ist gut im before block, um die Basisfunktionen zu definieren
object = double…
-
Write your thoughts about the "[mock or not to mock](http://betterspecs.org/#mock)" best practice.