Posts by Yuri Gomes • 35 points
5 posts
-
0
votes1
answer83
viewsA: Microservice unit test using xUnit
Fixed, my problem was with the files from Mockqueryable outdated, after upgrading with the github files all tests made worked and passed normally.…
-
0
votes1
answer83
viewsQ: Microservice unit test using xUnit
Hello, I have a method that uses a read Repository for a holiday table, in this case... I need to create a unit test using xUnit Follow the excerpt of my method: [HttpGet]…
-
0
votes1
answer268
viewsQ: Using one System variable in another - Angular IONIC
I’m starting with Angular and would like to know if there is any way to pass the value from one variable to another. defineDificuldade(dificuldade) { console.log('Selected level ~~> ',…
-
0
votes2
answers124
viewsA: Unit tests for Pipe tap() in Angular
I managed to run tests on top of TAP with the following code snippet. it('it should verify the nativeElement keyup if length = 0', ()=>{ component.input.nativeElement.value = '';…
-
3
votes2
answers124
viewsQ: Unit tests for Pipe tap() in Angular
I would like to test tap() inside my Pipe to cover this code snippet, just missing it so that I reach 100% test coverage. fromEvent(this.input.nativeElement, 'keyup') .pipe( debounceTime(150),…