Azerbaycan Test Driven Development in a Java Environment Eğitimi

  • Eğitim Tipi: Classroom
  • Süre: 2 Gün
Bu eğitimi kendi kurumunuzda planlayabilirsiniz. Bize Ulaşın!

This course is designed to bring about a fundamental change to the way developers go about their day-to-day business of writing software code. Instead of thinking about unit tests as at best an afterthought, having already written the application code, the course aims to turn this practice on its head, and get programmers to write tests before the code to be tested.

Originating in the Agile methodology of Extreme Programming, Test Driven Development (TDD) has become accepted as a mainstream best practice, and is being adopted by major organisations as means of improving code quality and developer productivity.

Because Test Driven Development involves such a major inversion of most developers' ways of thinking and working, the course is strongly exercise based - it is necessary to spend a large part of the two days of the workshop practicing test-first development.

Typically developers find TDD initially strange, but go on to find it quite liberating, and become 'test infected' (unable to write code without having first devised unit tests.)

The exercises are based on the Java programming language, and use the tools most central to TDD in Java, including Eclipse (students are free to use tools they are comfortable with), JUnit and some of its extensions, Hamcrest, mocking with jMock and developing system level TDD scripts using fitnesse.

Competence in Java, or similar object-oriented programming language.

At the end of this course you will have:

  • The ability to take the TDD approach to software development
  • An understanding of the key techniques and strategies of TDD, and principles of refactoring code
  • The ability to write unit tests in JUnit versions 4 and 3
  • The ability to use mock objects in unit tests
  • Work with fitnesse to develop system level tests
  • Track down bugs quickly using JUnit and fitnesse

Unit tests and the xUnit framework.

  • JUnit overview
  • The TestCase and Assert classes
  • Developing a JUnit 4 test and test suite for a class
  • Java 5 features used in JUnit 4
  • JUnit 4 versions of tests and test suites
  • JUnit and ant

Motivation for using Mock Objects.

  • Stubs and Mocks
  • Worked example
  • EasyMock argument matchers
  • Mocking and Static methods.
  • When to use Mock Objects
  • Drawbacks of Mock Objects

Test Driven Development.

  • Test Driven Development
  • Benefits of TDD
  • TDD Strategies - with JUnit and with fitnesse
  • TDD Process: Worked Examples with JUnit
  • TDD Process: Worked Examples with fitnesse
  • TDD Testing Best Practices
  • Exception tests
  • Performance tests
  • Fixing broken code in a speedy manner, successfully tracking down bugs using a combination of unit tests and TDD scripts

'Code Smells'.

  • Benefits of Refactoring Code.
  • Important Refactorings
  • Testing Patterns
  • Testing Heuristics
  • Coverage

Conclusion

  • Pros and Cons of TDD

The workshop is strongly oriented towards lab work. In order to reverse deeply ingrained habits, of writing code first and tests only as a possible afterthought, it is essential to give developers as much time as possible working in a test-first manner.



Eğitimlerle ilgili bilgi almak ve diğer tüm sorularınız için bize ulaşın!

Yakın tarihte açılacak eğitimler

Sınıf eğitimlerimizi Azerbaycan ofislerimizde düzenlemekteyiz. Kurumunuza özel eğitimleri ise, dilediğiniz tarih ve lokasyonda organize edebiliriz.

Classroom / Virtual Classroom
24 noyabr 2024
Baku
2 Gün
Classroom / Virtual Classroom
24 noyabr 2024
İstanbul
2 Gün
Classroom / Virtual Classroom
13 fevral 2025
İzmir
2 Gün
Classroom / Virtual Classroom
14 fevral 2025
Bodrum
2 Gün
Classroom / Virtual Classroom
13 fevral 2025
Antalya
2 Gün
Classroom / Virtual Classroom
14 fevral 2025
Kapadokya
2 Gün
Classroom / Virtual Classroom
09 aprel 2025
Bursa
2 Gün
Classroom / Virtual Classroom
16 aprel 2025
Ankara
2 Gün
Test Driven Development in a Java Environment Eğitimi Azerbaycan

Kardeş ülke Azerbaycan (resmi adıyla Azerbaycan Cumhuriyeti) Kafkasya’da, Güney Kafkas Dağları bölgesinde bulunmaktadır. Çok zengin bir kültüren mirasa sahip olan Azerbaycan’ın, Hazar Denizi, Rusya, Gürcistan, Ermenistan ve İran gibi sınır komşuları vardır. Kafkasya’nın en büyük yüzölçümlü ülkesi olan Azerbaycan’da harika bir doğa çeşitliliği mevcut olup, hayvan yaşamının zenginliği de dikkat çekicidir. Üniter bir devlet olan Azerbaycan’ın Cumhurbaşkanı İlham Aliyev, resmi dili Azerice’dir.

Farsça Azar (Ateş) ve Payegan (Muhafız) kelimelerinin birlikteliğinden adını alan Azerbaycan Ateşler Ülkesi olarak da bilinmektedir. Bakü’de bulunan Flame Towers ülkenin en turistik yerlerinden biridir. Ülkede çok sayıda yanardağ ve petrol yatağı bulunmaktadır. Azerbaycan’ın mutlaka görülmesi gereken yerleri arasında Bakü’deki Alev Kuleleri, Kız Kalesi, Ateşgah, Targovi Caddesi ve Bakü Bulvarı’nın yanı sıra farklı şehirlerdeki Şeki Hanları Sarayı, Kobustan Milli Parkı, Han Bağı, Kebele ve Göygöl Milli Parkı sayılabilir.
Sitemizi kullanarak çerezlere (cookie) izin vermektesiniz. Detaylı bilgi için Çerez Politika'mızı inceleyebilirsiniz.