yotabit
Integration Testing
I learned about the integration testing concept, but I'm having a hard time finding how people are using it.
I use WPF and MVVM in my project.
- Do you use Integration testing? If yes, how do you use it?
- What are recommended tools to work with MVVM+WPF + tests?
- Is there anything you'd like me to know before I start writing my integration tests?
10 replies
Style dependent on a property
A Button
ConfirmationButton
should have the Style= MahApps.Styles.Button.Dialogs.Accent
when the boolean property CancellationVisible
that I'm binding is True
.
The code below shows how I tried to do it, but the problem is that it shows this error:
error MC3029: 'Style' member is not valid because it does not have a qualifying type name.
How can I fix it or achieve the same behavior?
15 replies
Project Path
How can I get the Uri path to my project?
What I get:
D:\csharp\MyFirstProject\MyFirstProjectUI\bin\Debug\net6.0-windows\
What I want:
D:\csharp\MyFirstProject\MyFirstProjectUI\Resources\
What I tried:
Resources
is a folder I created. The root of my project - what I'm trying to get - is
D:\csharp\MyFirstProject\MyFirstProjectUI\
12 replies