Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Erlang Common tests - Sergey Bondarchuk


Published on

Elixir Club 7 Dnipro
I Coworking Hub

Published in: Technology
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ ◀ ◀ ◀ ◀
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Erlang Common tests - Sergey Bondarchuk

  1. 1. Sergey Bondarchuk, Erlang Dev at Middleware Inc. Erlang Common Tests Framework
  2. 2. 1. Systematic refactoring 2. Separation of code into libraries or dependencies 3. To сover code by аutotests Some methods to simplify and speed-up software development process
  3. 3. 1. White-Box testing (structural) 2. Black-Box testing (functional) 3. Grey-Box testing (combination) Types of software testing
  4. 4. Structure of Common Tests
  5. 5. Typical actions for each suite callback 1. init_per_site - starting application(s), dependencies, connecting to db, connecting to ws, put connection references to config 2. init_per_group, init_per_tescase - creating some entities, to manipulate them into test cases callbacks, creating commit, beginning transaction, putting objects references to config 3. end_per_group, end_per_testcase - destroying entities, confirming commit, confirming/rejecting transactions
  6. 6. Structure of Common Tests
  7. 7. Group of Testcases
  8. 8. Running Tests and Analyzing Results
  9. 9. Running Tests and Analyzing Results
  10. 10. 1. 2. 3. 4. applications-based-on-cowboy-using-common-test Useful Links
  11. 11. Sergey Bondarchuk I'm writing the code on Erlang for 2 years. Like to solve non-trivial tasks, like to do code optimizations and refactoring. Outside of work I like good companies, playing guitar, to do self-education. About me
  12. 12. Questions?