Commit Graph

139 Commits

Author SHA1 Message Date
Kartik Singla 9bb33102f9 [BAEL-1858] - How to mock a static method using JMockit (#4925) 2018-08-18 07:40:55 +02:00
Dhawal Kapil 6019d03fbf Merge branch 'master' of https://github.com/eugenp/tutorials into task/BAEL-8143 2018-08-16 14:34:19 +05:30
daoire 924a3dc9cc
Java Faker Tests (#4922)
* Java Faker Tests

* Rename tests

* Rename Test Class

* Remove files from sub module
2018-08-14 07:25:11 +01:00
Dhawal Kapil aa28e56545 Merge branch 'master' of https://github.com/eugenp/tutorials into task/BAEL-8143 2018-08-14 08:48:19 +05:30
Dhawal Kapil f2c2287b65 BAEL-8143 Update Mockito articles
-Upgraded mockito version to 2.21.0
2018-08-14 08:47:47 +05:30
josephine-barboza b3579151a9 BAEL-1857 2018-08-11 21:18:47 +02:00
josephine-barboza ec084c3b65 BAEL-1857 2018-08-11 21:18:47 +02:00
josephine-barboza 7ed89c7bc8 BAEL-1857 2018-08-11 21:18:47 +02:00
josephine-barboza 8e507cae4b BAEL-1857 2018-08-11 21:18:47 +02:00
josephine-barboza 9379e84ac8 BAEL-1857 2018-08-11 21:18:47 +02:00
josephine-barboza 876ffa765c BAEL-1857 2018-08-11 21:18:47 +02:00
josephine-barboza 2f4a120662 BAEL-1857 2018-08-11 21:18:47 +02:00
josephine-barboza d78acb07a1 BAEL-1857 Delete StringFunctionTest.java 2018-08-11 21:18:47 +02:00
josephine-barboza 24ba05ce0d BAEL-1857 Delete MathFunctionTest.java 2018-08-11 21:18:47 +02:00
josephine-barboza 87e6645b1c BAEL-1857 Delete FunctionTestSuite.java 2018-08-11 21:18:47 +02:00
josephine-barboza b23980ae2c BAEL-1857 Updated to parent pom.xml 2018-08-11 21:18:47 +02:00
Dhawal Kapil e7485a1813 Task/bael 8020 (#4919)
* BAEL-8020 Fix surefire configs of spring-5 projects

-Removed surefire configurations from spring-5 projects

* BAEL-8020 Fix surefire configs of spring-5 projects

-Fixed surefire and junit configuration of spring-5-** projects
-Fixed mavensurefire plugin to execute JUnit5 tests BAEL-8125

* BAEL-8020 Fix sure fire configs in spring5 project

-Fixed dependency for junit-5

* BAEL-8020 Fix sure fire configs in spring5 project

-Fixed dependency for junit5-migration

* BAEL-8020 Fix surefire configs

-Updated maven war plugin to 3.0.0

* BAEL-8020 Fix surefire configs

-Upgraded surefire custom logger api version to 2.21.0 for all child projects

* BAEL-8020

-Deleted empty test SpringBootMvcApplicationTests.java in spring-boot-mvc.
-Renamed SpringBootMvcApplicationTests.java correct in spring-boot-vue

* BAEL-8020 Fix surfire configs

-Added junit vintage dependency to run junit4 tests
2018-08-09 19:13:44 +03:00
Predrag Maric e730b0d8f8
BAEL 1861 (#4913)
* BAEL-1861 Replaced real tests with demo test "placeholders"

* BAEL-1861 Moved code from new module into existing ones

* BAEL-1861 Renamed main() classes to not violate PMD rules
2018-08-07 18:50:33 +02:00
Predrag Maric ddc106ccd9
BAEL-1852 moved the code into junit-5 module (#4915)
* BAEL-1852 moved the code into junit-5 module

* BAEL-1852 removed junit-abstract module from parent-modules
2018-08-07 14:42:57 +02:00
Carlo Corti b7355cbab0 BAEL-1843 - JUnit4 -> JUnit5 migration guide (#4816)
* Added code for the migration from JUnit 4 to JUnit 5

* Add example for Rule migration support

* Add fix to access modifiers to test methods

* Remove wrong header

* Add junit5-migration module and its code snippets

* Add module configuration to pom

* Remove test classes that were added for the migration from JUnit 4 to JUnit 5 article (moved under correct module)
2018-08-06 23:38:54 +02:00
amit2103 d268ffa5c9 [BAEL-7670] Added logback.xml in missing modules in src/main/resources 2018-08-05 18:40:49 +05:30
josephine-barboza ff1b1fc8f4 BAEL-1857 Running Parallel JUnit Tests with Maven 2018-08-03 14:57:46 -07:00
josephine-barboza be6d6cff8c Create FunctionTestSuite.java
BAEL-1857
2018-08-03 14:57:46 -07:00
josephine-barboza d4371b3d2e Create pom.xml 2018-08-03 14:57:46 -07:00
Predrag Maric cc3b35566d
BAEL-1861 Replaced real tests with demo test "placeholders" (#4887) 2018-08-03 11:13:45 +02:00
Kartik Singla d1caea7afb Bael 1852 - Test case code is aligned to support Junit5 (#4847)
* add prototype bean ex with function

* remove extra classes

* remove extra import

* separate configs

* separate configs

* Update AppConfig.java

* Code update to support Junit5

* BAEL-1979 Added examples for SnakeYAML Library (#4802)

* BAEL-1979 Added examples for SnakeYAML Library

* BAEL-1979 Moved the snakeyaml related code to libraries module

* BAEL-1979 Removed the System.out.println() statements and converted the assertTrue to assertEquals wherever possible.

* BAEL-1979 Removed println statements, small formatting fix in pom.xml

* BAEL-1852 Renamed one test method, fixed formatting
2018-08-01 12:10:43 +02:00
Pello Altadill c765acd1da BAEL-1861 - Running JUnit tests from a Java application (#4526)
* BAEL-1562 - Thymeleaf sample working

* BAEL-1562 Code added for Fragments sample

* BAEL-1562 - Last correction for the test

* BAEL-1562 - Thymeleaf sample working

* BAEL-1562 Code added for Fragments sample

* BAEL-1562 - Last correction for the test

* Updates Thymeleaf version to 3.0.9.RELEASE

* Added msf4j projects

* updated msf4j project folder

* fixed issue with spring-thymeleaf/pom.xml

* Removed depedency-reduced-pom.xml

* Whitespacing fix

* Strange git issue with README.MD, wouldn't revert the file

* Added jupiter api

* Corrected junit test

* Added test engine to plugin

* Removed extra tag

* Little fixes to junit4 and junit4 run from java

* Removed scope from pom.xml

* Removed bin file from testing

* Slight changes for PMD

* Slight changes for PMD

* ok, moved code to another folder

* Renamed and fixed runjunitfromjava

* moved test classes to test folder

* moved main to src/java

* BAEL-1861 Moved test running classes to src/test/java

* Added changes to runjunitfromjava

* Added changes to runjunitfromjava

* BAEL-1861 Changed test execution code examples

* BAEL-1861 Changed test execution code examples; formatting
2018-08-01 11:58:35 +02:00
Tom Hombergs 13b7988043
Merge pull request #4813 from eugenp/thombergs-patch-19
added link
2018-07-31 19:01:40 +02:00
Sjmillington 015240a99e Moved javafaker unit tests to testing-modules 2018-07-26 19:17:51 +01:00
Tom Hombergs 62acfaea44
added link 2018-07-25 22:43:03 +02:00
Tom Hombergs a9e4ebff6d
Merge pull request #4769 from priyeshmashelkar/master
BAEL-1907 Created new module spring-testing for article
2018-07-22 20:40:24 +02:00
Kartik Singla c5ae8f98cf BAEL-1852 - Testing an Abstract Class with JUnit (#4773)
* BAEL-1852 - Testing an Abstract Class with JUnit

* Fixed test method names and class names according to naming compliances.
2018-07-21 17:04:52 +02:00
priyeshmashelkar 76a4a86ab2 BAEL-1907 Corrected formatting 2018-07-20 11:57:31 +01:00
Dhawal Kapil 3d83de657b BAEL-1862 Move the Junit 5 logic in the right module (#4747)
* BAEL-1862 Move the Junit 5 logic in the right module

-Moved Method Orders Tests from tutorails/junit5 project into correct project tutorials/testing-modules/junit-5
-Removed tutorials/junit5 project

* Update DefaultOrderOfExecutionTest.java

* Update README.md

* BAEL-1862 Move the Junit 5 logic in the right module

-Renamed *Test to *UnitTest

* Update README.md
2018-07-20 12:30:32 +02:00
priyeshmashelkar 225cf6d2f4 BAEL-1907 Created new module spring-testing 2018-07-20 10:45:03 +01:00
Eugen Paraschiv f342db3d1c minor maven cleanup 2018-07-18 23:44:34 +03:00
Tom Hombergs ac245f16e0
Merge pull request #4738 from priyeshmashelkar/master
BAEL-1907 Renamed test methods to follow BDD style
2018-07-18 20:18:50 +02:00
Eugen Paraschiv 1f03524402 fixing relative path 2018-07-18 18:16:49 +03:00
priyeshmashelkar 4b46635ac7 Renamed test methods to use BDD style 2018-07-17 10:52:19 +01:00
charlesgonzales 7e16275bd7 BAEL-7390 - add/fix links (#4697)
* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md
2018-07-13 06:57:45 +02:00
Dhawal Kapil 8270c6d61a BAEL-1987 Fix Tests and Compilation In All Projects (#4693)
* BAEL-1987 Fix Tests and Compilation In All Projects

-Fixed various compilation issues, test assertions throughout the project.

* Update pom.xml
2018-07-13 00:07:27 +02:00
priyeshmashelkar 0522b91f3d Renamed test methods as per naming convention 2018-07-12 12:11:00 +01:00
Sanjay Patel cddf858c05 BAEL-5246: pom cleanup (#4620)
* BAEL-5246: round 1 of pom cleanup - upto "jersey" project

* BAEL-5246: Initial pass for pom cleanup - upto spring-cloud

* BAEL-5246: pom cleanup upto testing-modules/junit5

* BAEL-5246: pom cleanup - upto xstream

* BAEL-5246: pom cleanup - last round (before review)
2018-07-12 09:04:54 +02:00
Tom Hombergs cab2e3593d
Merge pull request #4682 from priyeshmashelkar/master
BAEL-1907 Moved code from spring-boot to testing-modules/mockito
2018-07-11 21:00:19 +02:00
Priyesh Mashelkar a3f6ad6d88 Renamed unit test 2018-07-11 00:01:38 +01:00
priyeshmashelkar 178aa88296 Moved code from spring-boot to testing-modules/mockito 2018-07-06 12:46:26 +01:00
Rokon Uddin Ahmed f086ae7814 BAEL-7217 (#4637)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2018-07-06 09:25:49 +02:00
Jonathan Cook 0242d74b93 BAEL-1863 - Calling Callbacks with Mockito (#4531)
* BAEL-1849 - Convert from String to Date in Java

* BAEL-1863 - Calling Callbacks with Mockito
2018-06-23 08:11:52 -07:00
Bahtiyar Kaba b0062c48ed apply naming conventions to test-container test names 2018-06-19 07:37:31 +01:00
Bahtiyar Kaba 8fd641b074 formatting corrections on test-container tests 2018-06-19 07:37:31 +01:00