Friday, November 10, 2017

Influencer Outreach 101 - #infographic

If content is king in the digital marketing world, then influencers are your knights in shining armor. They support your brand’s content, nourish it, and spread it across the land for all to see. Here’s everything you need to know about why influencer marketing matters, along with some tips for how...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

6 YouTube Tricks You Need To Know [Video]

Free movies, instant HD, and Easter Eggs galore. Find out how to get them all with our guide to YouTube's hidden features.

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Irfan Ahmad via Digital Information World

7 Open-Source Test Automation Frameworks

This article was originally published by TestProject. Thank you for supporting the partners who make SitePoint possible.

As we enter the last quarter of 2017, TestProject’s team decided to round up the best open-source test automation frameworks out there, to help you choose the right one for you!

Here are the pros and cons of 7 different open-source test automation frameworks.

1. Robot Framework

Robot Framework (RF) is a test automation framework for acceptance testing and acceptance test-driven development (ATDD). This framework is written in Python, but can also run on Jython (Java) and IronPython (.NET), and therefore is cross-platform (Windows, Linux, or MacOS).

Pros:

  • It simplifies the test automation process by utilizing the keyword-driven testing (KDT) approach, which helps testers create readable tests that are easily made.
  • Has easy to use test data syntax.
  • Has a rich ecosystem around it consisting of various generic test libraries and tools that are developed as separate projects.
  • Has many APIs that make it highly extensible.
  • Although it’s not a built-in ability, RF enables to execute parallel tests via pabot library or Selenium Grid.

Cons:

  • It’s not easy to customize HTML reports.

Bottom line: This cross-platform framework is highly recommended if you are targeting for KDT automation with a wide range of libraries and extensions. If you want to add new keywords (via RF test library APIs), a basic knowledge in Java/Python/C programming language is required.

2. JUnit

JUnit is a framework for unit testing of Java applications, used to write and run repeatable tests.

Pros:

  • Tests are written in pure Java which is known as the leading programming language worldwide.
  • Supports test-driven development (TDD).
  • Enables you to create your own unit test case suite.
  • Integrates very well with other tools (for example, Maven) and with IDEs (for example, IntelliJ).
  • Has history – so it has a large user base that makes it easy to find documentation on it.

Cons:

  • If a mocking ability is required, one needs to add Mockito (or some other mocking library).
  • Tests are not readable by non-technical people, since for example the methods names in JUnit are constrained by Java conventions.

Bottom line: If you're looking to write unit testing for your Java application, it’s probably the best choice. However, for functional testing or non-Java applications, you should consider other solutions.

3. Spock

Spock is a testing and specification framework for Java and Groovy applications. It is based on JUnit.

Pros:

  • Creates readable tests and supports plain English sentences, making it easy to read.
  • Provides the surrounding context, so it easily enables you to understand how to fix a failure.
  • Has built-in mocking and stubbing capabilities.
  • Supports data-driven-tests (DDT).

Cons:

  • Requires a basic knowledge of the Groovy programming language.

Bottom line: If your application is based on JVM and you are targeting for BDD test automation with DSL, this framework is just for you!

4. NUnit

NUnit is a unit testing framework for all .Net languages. Originally inspired by Junit, it is written entirely in C#, and has been completely redesigned to take advantage of many .NET language features.

Pros:

  • Quick initiation and test execution.
  • Comes with assertions and annotations.
  • Enables parallel testing.
  • Supports test-driven development (TDD).

Cons:

  • It is not cross-platform as it is used only for .Net languages.
  • It doesn’t integrate into the Visual Studio ecosystem, so using it means more maintenance.

Bottom line: A nice open-source framework for C# unit testing, with a long history and good reputation. However, in case you’re already using .NET languages, you may consider MSTest.

5. TestNG

TestNG is a test automation framework for Java that is inspired by JUnit and NUnit, but includes improved and new functionalities (NG – Next Generation). It is designed to cover all the test automation categories: unit testing, functional test, end-to-end, integration testing, etc.

Continue reading %7 Open-Source Test Automation Frameworks%


by Dan Greenberg via SitePoint

#360: How Redux Can Make You A Better Developer

This week's JavaScript newsRead this e-mail on the Web
JavaScript Weekly
Issue 360 — November 10, 2017
You know when hardware reviewers benchmark against Photoshop and games? This is a look at a new, similarly practical performance test for JavaScript engines.
Benedikt Meurer

A look at some of the most important changes to Angular, as well as pointers on upgrading.
Alligator

Error handling is one of those things no one wants to deal with, well in Angular you can create a global handler and never have to worry again. Here's how.
ROLLBAR   Sponsor

Proposes a way for modules to more easily make metadata about themselves available via an import.meta object.
Dr. Axel Rauschmayer

Curated from numerous popular articles this in-development list of best practices covers topics from error handling to memory use.
Yoni Goldberg

If adopted, Redux has the potential to totally change your approach to writing code and organizing applications.
Danijel Vincijanovic

Jobs

In Brief

So What's New in Node.js 9? news
Gergely Nemeth

A Feature Watch on ECMAScript 2018 (Updated) news
Dr. Axel Rauschmayer

The Road to Learn React: Learn by Building Hacker News App 
12,000+ students read the Road to Learn React. This interactive course is a complete roadmap to master React.
Educative  Sponsor

Using a Router To Navigate Between Pages in a Vue.js App tutorial
Nic Raboy

Playing with 2D Physics with Matter.js tutorial
Some pointers on getting started with Matter.js.
Will Boyd

Async/Await Explained By Way of a Clear Example tutorial
Brandon Morelli

What’s New in Angular 5: Animations tutorial
Netanel Basal

Working with async/await and Loops tutorial
Anton Lavrenov

Basic Debugging from the Chrome DevTools Console tutorial
MichaƂ Witkowski

Creating a Star to Heart Animation with SVG and Vanilla JS tutorial
A step-by-step how-to for smooth transitions from one shape to another.
Ana Tudor

A Much Faster Way to Debug Code Than with Breakpoints or Console.log 
Wallaby catches errors in your tests and displays the results of expressions right in your editor as you type.
Wallaby.js  Sponsor

Ask HN: Which TypeScript Codebase Should I Study to Get Better? opinion
Hacker News

Ask HN: Is Meteor.js Still A Thing? opinion
A lengthy discussion on whether using Meteor.js in production is still worthwhile.
Hacker News

The Most Clever Line of JavaScript? story
Well, it’s an intriguing line at least.
Seva Zaikov

Advanced Static Types in TypeScript: A Course video
Marius Schulz

Webpack Monitor: A Tool for Monitoring Webpack Optimization Metrics tools
Jon Roach, Gordon Yu, Balal Zuhair

js2flowchart: Create SVG Flowcharts from JavaScript Code tools
Turns your code into flowcharts in a variety of ways so you can more easily analyze or explain what’s going on.
Bohdan Liashenko

“CircleCI 2.0 is fast. We reduced builds from minutes to 12 seconds.” tools
CircleCI  Sponsor

voxelengine3: A Three.js-based WebGL Voxel Engine code
Magnus Lallassu

Noel: A Replayable Event Emitter code
Joel Hernandez

Emergence.js: Detect Element Visibility in The Browser code
Christian Miller

DraftJS Plugins 2.0: Lots of New Rich Text Editor Extensions code
Draft.js is a framework for building rich text editors in React.
Nik Graf

Curated by Peter Cooper and published by Cooperpress.

Like this? You may also enjoy: FrontEnd Focus : Node Weekly : React Status

Stop getting JavaScript Weekly : Change email address : Read this issue on the Web

© Cooperpress Ltd. Fairfield Enterprise Centre, Lincoln Way, Louth, LN11 0LS, UK


by via JavaScript Weekly

Under Sky

Neat moving clouds effect in this long-scrolling One Pager for tent hire business, Under Sky.

Full Review | Direct Link


by Rob Hope @robhope via One Page Love

Facebook's 11 Most Fantastic Employee Perks [Video]

Facebook's careers page and Glassdoor reviews break down the tech company's top benefits in North America. Some perks include free meals, ample time for vacation, and lots of support for new parents.

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Irfan Ahmad via Digital Information World

5 Infographic Submission Sites to Promote Your Infographic

Here are the top 5 infographic submission sites you can leverage to promote your infographics and get high-quality backlinks. .embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object,...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Irfan Ahmad via Digital Information World