Testing

Security

GoLang Exercism

Not like the spitting up green pea soup exorcism but Exercism.io, one of many great resources for learning programming languages by solving actual problems. Similar to Ruby Koans, you are given a programming problem to solve and a set of unit tests. Your challenge is to make all the tests pass by writing code (ala TDD). As you write your code and run your tests you may be given hints leading towards a solution or you may have to just figure it out on your own. Once all your tests are passing, you publish your code to the Exercism site where others can review and you can see other people's solutions for the same problems. I've learned more by reviewing other people's code than all the books and blog posts I've read.

1 min read
macOS

Mac OS 10.5.7 update broke JMeter

The latest Java update from Apple broke JMeter... not sure why but JMeter needs Java 1.5. Add this line near the top of your jakarta-jmeter-2.X.X/bin/jmeter file using your handy dandy text editor. I like TextWrangler.

JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.5"

If you use any of the other jmeter run scripts you may need to add this to them as well.

1 min read
Programming

Test Early » Hudson - Tips and Tricks

| Test Early » Hudson - Tips and Tricks | Hudson is an open source CI server that is by far the easiest one to configure. Second to ease of use is Hudson’s impressive plug-in framework, which makes it easy to add features. For instance, Hudson has a plug-in for tracking FindBugs issues, PMD issues, and CheckStyle issues over time as well as code coverage. It also trends test results from JUnit, as well as build results and corresponding execution times. In spite of all these cool features, we had to find ways to get around some common issues we faced at work using Hudson.

1 min read
Programming

Zero to Continuous Integration with Windmill | Adam Christian

| Zero to Continuous Integration with Windmill | Adam Christian | Following ‘automation’ and ‘continuous integration’ in the micro blogging world I have seen a major influx in people being super interested in functionally automating their web apps. I have seen a slew of things about Grid, and Selenium, and people hacking on Watir so I decided to show you from the ground up how incredibly easy it is to get automated test running setup using Windmill and Hudson. I am not going to walk you through every detail, this is much more high level but I do plan to start a ‘continuous integration’ page on getwindmill.com in the near future for those kinds of details.

1 min read
Security

Easy Automated Web Application Testing with Hudson and Selenium » Vitamin Features »

| Vitamin Features » Easy Automated Web Application Testing with Hudson and Selenium | What will you get out of this article? Our set-up achieves the following:

  • It checks our Subversion repository every hour to see if anyone has committed any changes.
  • If they have, it updates the project from Subversion and builds it.
  • It then creates a clean version of our application database, loads in reference data and deploys the application on our app server.
  • A job is triggered that runs through a series of tests in a remotely-controlled web browser on the fresh application.
  • Anything that deviates from the accepted norm is logged and screenshots of the web browser are taken.
  • Screenshots of the browser are also taken for key pages of the site for later checking by a human.
  • If any of the tests fail, the developers responsible for the changes are notified by email of the problems.
  • Our issue tracker is updated with any issues that were fixed in the build.

1 min read
Web Development

Google Web Toolkit - Google Code

| Google Web Toolkit - Google Code | Google Web Toolkit (GWT) makes it easier to write high-performance AJAX applications. You write your front end in the Java programming language and GWT compiles your source into highly optimized JavaScript. Writing web apps today is a tedious and error-prone process. You spend 90% of your time working around browser quirks, and JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile. It doesn't have to be that way.

2 min read
Web Development

The Secret Language of Babies - Amazing Medical Breakthroughs

| Amazing Medical Breakthroughs: The Secret Language of Babies Video | After testing her baby language theory on more than 1,000 infants around the world, Priscilla says there are five words that all babies 0–3 months old say—regardless of race and culture:

| Neh="Im hungry" | Owh="Im sleepy" | Heh="Im experiencing discomfort" | Eair="I have lower gas" | Eh="I need to burp"

Those "words" are actually sound reflexes, Priscilla says. "Babies all around the world have the same reflexes, and they therefore make the same sounds," she says. If parents dont respond to those reflexes, Priscilla says the baby will eventually stop using them.

1 min read