It's a simple test: When you process a patient using Component A, and register them using Component B, in the database you should see status code C.
A + B = C.
Lucky for me, another developer already wrote libraries of Nightwatch.Js tests for Component A and Component B. I am just making logical assumptions on what parts I need and glueing them together, hoping it all works out. Then, I'm using the PostgeSQL library that Node.js provides to get the status code C that I need.
Sometimes, it doesn't all work out.
If something goes wrong, and I need to RTFM, which M should I look at to increase my understanding of how the code works? Where is the code from? Is it from:Hard part reading other's @NightwatchJs: Which is vanilla #JavaScript? #ES6? @NodeJs? #MochaJs? Third party #postgreSQL or in-house library?— T.J. Maher (@tjmaher1) December 15, 2016
- Basic Nightwatch: http://nightwatchjs.org/guide
- The Mocha Test Runner: https://mochajs.org/
- A Node.js library: https://nodejs.org/en/docs/
- Vanilla JavaScript: https://developer.mozilla.org/en-US/docs/Web/JavaScript
- ECMAScript2016 (or 2017): https://tc39.github.io/ecma262/
- PostgreSQL: https://www.postgresql.org/docs/
- Node.Js implementation of PostgreSQL: https://www.npmjs.com/package/pg
- Or is it an in-house developer's library?
Let me tell you, I am having the time of my life trying to figure our how things fit together! :)
My favorite thing has always been attempting to figure things out by burying myself in independent research and taking a hella lot of notes. And more notes equals more blog entries!
When I come up for air in January, after this month's deep dive, expect to see a lot more projects involving Nightwatch.js, an automated testing solution geared towards Node.js projects.
Until then, Happy Testing!
... Wow. I can't believe how happy I am at work, with my new position as a Software Engineer in Test. Great company! Great co-workers! And a really, really great job. Let's hope I can get up to speed quickly.
-T.J. Maher
Twitter | LinkedIn | GitHub
// Sr. QA Engineer, Software Engineer in Test, Software Tester since 1996.
// Contributing Writer for TechBeacon.
// "Looking to move away from manual QA? Follow Adventures in Automation on Facebook!"
4 comments:
Great blog just loved it the way you tell about the blog .I like your blog Mechanical Engineering Competitive Books .Thanks for sharing this blog with us.
Be assured of our competence and interest in providing professional assistance. See for yourself by ordering the execution of work in http://freepaperwriter.com/ We have all the necessary resources for high-quality and timely implementation of a project of any complexity
The hard part of learning Nightwatch.js in my opinion is that it is so hard to understand. I surely agree with your point. Thanks for sharing this with us. I really appreciate that. Now it's time to avail vacuum sealer bags for more information.
I’m very happy to uncover this web site. I wanted to thank you for ones time for this fantastic read!! I definitely savored every little bit of it and i also have you saved as a favorite to look at new information on your web site.¿Es Nueva York un Estado de Propiedad Comunitaria para el Divorcio?
Post a Comment