dotnetomaniak.pl

dotnetomaniak.pl - Artykuły z tagiem Tests

When it comes to writing maintainable UI test there always appears the term of Page Object Pattern. For those who are not familiar with Page Object, it’s the approach to building UI test that focuses on creating high-level abstraction over low-level details related to interaction with a tested application. This testing interface encapsulates all the noise related to technology and allows to clearly express intention of test cases. This concept is very well described...

Dziel się z innymi:
[EN] Feature Object Pattern · Cezary Piątek Blog

Sztuka programowania 74 dni, 13 godzin, 30 minut temu cezarypiatek 79 rozwiń

Page Object pattern is well-known in the world of test automation. Fortunately the new version (v4) of webdriver.io test automation framework was designed with Page Object pattern in mind, so we can fully benefit from this approach. One of advanced concepts of Page Object pattern is components sharing – today we will take a closer look at this.

Page Object, WebdriverIO advanced concepts - components sharing

Web 293 dni, 13 godzin, 36 minut temu AdrianBystrek 45 rozwiń

While looking for some efficient solution to mock (or autogenerate) some testing data I stumbled upon this funny-named library called Bogus. I tried and compared it with another well-known library called AutoFixture. They’re both powerful and can speed up tedious manual object initialization. I was looking for a solution that would work with Entity Framework and our database models which required that some selected properties were always not-null. Also, just for my own...

Dziel się z innymi:
Bogus fake data generator in .Net testing – Dominik Roszkowski

Narzędzia 451 dni, 8 godzin, 12 minut temu orestesgaolin 70 rozwiń

Inspired by Piotr’s article I decided to play a little with the Bitbucket as an alternative to the GitHub. The thing that I really like about it, is that there’s no need to use any 3rd part CI tool such as TravisCI since Bitbucket offers its own build pipeline. Of course, I wanted to test it as soon as possible, so I created very simple Aurelia application using its CLI and I pushed my changes. My basic pipeline file (with the *.yml extension) presented as follows:   ...

Źródło: foreverframe.net
Dziel się z innymi:
Running Aurelia tests inside Bitbucket pipelines - Forever F[r]ame

Web 465 dni, 16 godzin, 4 minuty temu dpawlukiewicz 28 rozwiń

Generic classes tests mechanism using NUnit with test cases

Tagi: NUnit, Tests
Źródło: www.diwebsity.com
Dziel się z innymi:
[EN] NUnit - generic classes tests - Diwebsity

Sztuka programowania 882 dni, 10 godzin, 41 minut temu suvroc 79 rozwiń

Opis jak szybko skonfigurować testy integracyjne dla WebAPI przy użyciu OWIN

Tagi: owin, Tests, WebAPI
Źródło: www.diwebsity.com
Dziel się z innymi:
[EN] WebAPI integration tests with OWIN - Diwebsity

Sztuka programowania 913 dni, 13 godzin, 2 minuty temu suvroc 88 rozwiń

I’m a big fan of using con­ven­tions when devel­op­ing appli­ca­tions. I blogged about it in the past (here, here and later here). I also gave a talk about my expe­ri­ence with this approach and how I cur­rently use it at NDC last week (slides are avail­able here, video is here). One prob­lem I faced when try­ing to build con­ven­tion val­i­da­tion tests was lack of sim­ple API that would allow me to build the val­i­da­tion rules for my tests. I built a spike of such library (call...

Źródło: kozmic.pl
Dziel się z innymi:
[EN] Using ConventionTests «  Krzysztof Koźmic on software

Sztuka programowania 2305 dni, 15 godzin, 51 minut temu Paweł Łukasik 79 rozwiń

W dzisiejszych czasach nikt już sobie nie wyobraża dobrze zaprojektowanej aplikacji biznesowej bez testów jednostkowych. Istnieją metodologie, które wręcz testy jednostkowe stawiają na pierwszym miejscu. Spring.NET idzie z duchem czasu i posiada wsparcie dla testów jednostkowych przy użyciu NUnit. Bądź co bądź to nadal najp...

Ugryźć Spring.NET – (cz.7) Testy jednostkowe « Beniamin Zaborski's Blog (BeniaminZaborski.com)

Inne 3350 dni, 9 godzin, 23 minuty temu Paweł Łukasik 118 rozwiń