Testing pages with bUnit

Hi,

My team is using blazor and syncfusion in our project and we decided that we would use bUnit (https://github.com/egil/bunit) to test our components.
We have a problem with the syncfusion service in our tests and I raised an issue on the bUnit github page (https://github.com/egil/bunit/issues/88).
We would like to know if this is solvable because we don't know how service injection is handled.

Thanks! 

4 Replies

JA Jesus Arockia Sankaran S Syncfusion Team April 8, 2020 03:52 PM UTC

Hi Nicu, 
 
Thanks for contacting Syncfusion support.  
 
Currently, we are validating the reported issue and get back you with further details as earlier as possible.  
 
Please get back to us if you have any concerns. 
 
Regards, 
Jesus Arockia Sankaran S 



JA Jesus Arockia Sankaran S Syncfusion Team April 9, 2020 02:34 PM UTC

Hi Nicu, 

Thanks for waiting for our response.  

We have checked the sample uploaded by you in bunit GitHub issue page and we are not able to reproduce the reported issue in our end. We run the two test cases simultaneously but the reported exception is not reproduced. 

We have prepared a screen capture video for your reference and we request you look into this which you can find from the link below. 


We request you to come back with step-by-step replication procedure, video, etc.. which will be helpful for understanding your problem if we misunderstood the reported problem. 

Please get back to us with requested details to resolve the issue as earlier as possible and further query if any. 
 
Regards, 
Jesus Arockia Sankaran S 



NC Nicu Comiati April 10, 2020 09:33 AM UTC

Hi,

Thank you for the response!

I managed to get this working by updating to 18.1.0.43 (the bug was spotted by using 18.1.0.42).

As for the steps, they are the same as in your video but it didn't seem to work for me and my team.

I will try to review this with them and come back with a response regarding the solution to this.

Thank you for the help,
Nicu


JA Jesus Arockia Sankaran S Syncfusion Team April 13, 2020 04:57 AM UTC

Hi Nicu, 

Thanks for the update. 

Regards, 
Jesus Arockia Sankaran S 


Loader.
Up arrow icon