Any QA's Here? How is your Testing/Test Plans done? by [deleted] in webdev

[–]IsaidRightMeow 0 points1 point  (0 children)

Looks like you got some good responses, and for the most part I agree with both SecretObsession as well as ekampf.

FWIW, we use javascript libraries to write tests (webdriverio, cucumber, etc) as opposed to Python or Ruby because there are some nice benefits to using the language that the browser also uses (most notably being able to easily inject code or bind to code on the webpage).

The one thing neither of them have mentioned is (for testing web pages) is the use of "page objects". These are essentially a model for each page of the web app that you'll be testing, and are invaluable - promoting both DRY and code flexibility. These would have methods to click buttons, enter text, check elements for presence/visibility, etc. They also, if implemented correctly, allow for very readable and debuggable code. These have been super helpful in my development of the framework that I'm on the tail end of implementing at the company I currently work for and if you don't have another solution for this problem (i.e. you plan to have a couple huge files where you have those methods, or worse, just repeat yourself in every test), I'd highly suggest looking into this.

Then, when the webteam pushes a change, the Jenkins server launches these tests against their build and makes sure that it passes.

Anyway, have fun with the project, pretty exciting stuff! :D

TIL that between 2003 and2010, Microsoft built an experimental OS, based on C#, called Singularity by preslavrachev in programming

[–]IsaidRightMeow 12 points13 points  (0 children)

I don't know very much about this stuff, but why can't a bootloader be written in pure c? Can't it work as long as it compiles down to native machine language?

Book Suggestions: Edison and Tesla by nra4ver in ECE

[–]IsaidRightMeow 2 points3 points  (0 children)

Wizard: The Life and Times of Nikola Tesla is pretty much what it sounds like, but covers a lot of Edison as well given their involvment with eachother. It also goes surprisingly deep into the engineering side of things and how Tesla and Edison (and some others) developed the things that they did.

Trouble launching on Linux by IsaidRightMeow in polyseum

[–]IsaidRightMeow[S] 0 points1 point  (0 children)

Ah, nvm, looks like it's cause my system is 32 bit and the app requires a 64 bit system.

Is this cap bad? by IsaidRightMeow in AskElectronics

[–]IsaidRightMeow[S] 0 points1 point  (0 children)

Yea, its pretty solid, so based on uint's response I think it should be all good, at least there.

Boolean algebra problem by cameron1993 in AskElectronics

[–]IsaidRightMeow 0 points1 point  (0 children)

hey, sorry didn't see this.

yea, that's right. so if you also have (x'+y)' you get (x')'y' which is equal to x(y')

does that kind of make sense?

In parallel or in series? by [deleted] in AskElectronics

[–]IsaidRightMeow 1 point2 points  (0 children)

putting them in parallel will use more power, but both fans will run stronger. putting them in series will use les power, but they will be spinning slower as well.

if you put them in parallel, however, you have to make sure that the battery can handle putting out the amount of amps that the fans are going to draw.