Replies: 2 comments 5 replies
-
Hey, I am just pointing out the obvious here, but did you try to read through the docs about bUnit on SyncFusions side? See: https://blazor.syncfusion.com/documentation/common/how-to/configure-blazor-component-in-bunit-testing |
Beta Was this translation helpful? Give feedback.
-
Yeah, NO, that's NOT how things work. I do not know why Syncfusion sponsors us, perhaps because they use bUnit internally to test their components, but I can promise you they did not ask us to support their customers nor author articles about their components when they decided to sponsor bUnit. And if they had, I would have politely said "no thanks". In other words, your Syncfusion license does not grant you any special treatment here. I'd suggestion you go through Syncfusions support channels if you need more help than what @linkdotnet has already graciously provided. Also, do recommend educating yourself on the cost of open source, a useful source is https://opensourcemaintenancefee.org, so perhaps you do not trigger another OSS developers with comments like that above another time. |
Beta Was this translation helpful? Give feedback.
-
Hi
Great library, but I have some troubles to get started, TTDing blazor components (meaning one Page) which have multiple
Syncfusion
components which are interacting with each other. For example (in my specific case): a fewSfTextBoxes
with bound value + aSfBarcodeGenerator
which takes over the bound values (here for width/height and the value)Nothing I worry about when not having test at all... jus adding this components, wire up the value fields and done.
But trying to write test for it, I cannot get simple test like this one
to work. (Setup runs in the constructor of this test class).
I think I am doing something fundamentally wrong, since this will throw this exception:
but adding this
Setup
to my testdoesn't change anything.. Still this exception.
So, since
Syncfusion
is sponsor of this project, I would appreciate some more "full" examples to get how to start for such scenario.Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions