You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,46 @@ Visual Studio does not support this feature.
132
132
When debugging in regtest, BTCPay Server will automatically create an configure two wallets. (cashcow and merchant)
133
133
You can trigger payments or mine blocks on the invoice's checkout page.
134
134
135
+
## 6. Integration Tests without Docker
136
+
To run the integration test outside Docker and have the Monero plugin available, you need to build the plugin and copy its output to the BTCPayServer plugins directory used at runtime.
Copy the plugin DLL and files to the BTCPayServer plugins directory: By default, BTCPayServer looks for plugins in ~/.btcpayserver/Plugins/BTCPayServer.Plugins.Monero/ (as in the Dockerfile).
Remember you will need to copy the plugin files every time you build the plugin, or you can automate this with a script.
155
+
156
+
You can automate copying the plugin output to the BTCPayServer plugins directory by adding a PostBuild target to your BTCPayServer.Plugins.Monero.csproj. This will copy the files after every build.
157
+
158
+
Add the following to the end of your BTCPayServer.Plugins.Monero.csproj (just before the closing </Project> tag):
To run the integration tests in isolation via CLI, you can use the following command:
171
+
```bash
172
+
dotnet test --filter FullyQualifiedName=BTCPayServer.Plugins.IntegrationTests.Monero.MoneroPluginIntegrationTest.EnableMoneroPluginSuccessfully --no-build --framework net8.0 --logger "console;verbosity=detailed"
173
+
```
174
+
135
175
## About docker-compose deployment
136
176
137
177
BTCPay Server maintains its own [deployment stack project](https://github.com/btcpayserver/btcpayserver-docker) to enable users to easily update or deploy additional infrastructure (such as nodes).
0 commit comments