diff options
| author | mokha <mokha@cisco.com> | 2019-05-13 19:57:57 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2019-05-13 19:57:57 -0600 |
| commit | a9945709615ac3d18bc4a838e3babf2757c9e313 (patch) | |
| tree | 8f6dec2b7d79d18a59953cd9156a027b181d5ccf /src | |
| parent | ce4773534eb2ae3d84ae7d95442949bd49f070f1 (diff) | |
update QA1 output
Diffstat (limited to 'src')
| -rw-r--r-- | src/Q1/README.md | 62 |
1 files changed, 20 insertions, 42 deletions
diff --git a/src/Q1/README.md b/src/Q1/README.md index 3b73401..57457fe 100644 --- a/src/Q1/README.md +++ b/src/Q1/README.md @@ -67,13 +67,23 @@ before implementing the required interface. ```bash モ mvn test +[INFO] Scanning for projects... +[INFO] +[INFO] -------------------< ca.mokhan.comp268:assignment1 >-------------------- +[INFO] Building assignment1 1.0-SNAPSHOT +[INFO] --------------------------------[ jar ]--------------------------------- +[INFO] +[INFO] --- fmt-maven-plugin:2.8:format (default) @ assignment1 --- +[INFO] Processed 8 files (0 reformatted). +[INFO] +[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ assignment1 --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/mokha/development/gh/comp-268/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ assignment1 --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! -[INFO] Compiling 24 source files to /Users/mokha/development/gh/comp-268/target/classes +[INFO] Compiling 4 source files to /Users/mokha/development/gh/comp-268/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- @@ -91,8 +101,8 @@ before implementing the required interface. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ -[INFO] Total time: 2.853 s -[INFO] Finished at: 2019-05-11T21:26:49-06:00 +[INFO] Total time: 1.759 s +[INFO] Finished at: 2019-05-13T19:55:36-06:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project assignment1: Compilation failure: Compilation failure: [ERROR] /Users/mokha/development/gh/comp-268/src/Q1/AddressBookTest.java:[21,12] cannot find symbol @@ -124,7 +134,7 @@ Here is the output after fixing the failing test: [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- fmt-maven-plugin:2.8:format (default) @ assignment1 --- -[INFO] Processed 48 files (0 reformatted). +[INFO] Processed 8 files (0 reformatted). [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ assignment1 --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! @@ -133,7 +143,7 @@ Here is the output after fixing the failing test: [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ assignment1 --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! -[INFO] Compiling 24 source files to /Users/mokha/development/gh/comp-268/target/classes +[INFO] Compiling 4 source files to /Users/mokha/development/gh/comp-268/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ assignment1 --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! @@ -142,7 +152,7 @@ Here is the output after fixing the failing test: [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ assignment1 --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! -[INFO] Compiling 24 source files to /Users/mokha/development/gh/comp-268/target/test-classes +[INFO] Compiling 4 source files to /Users/mokha/development/gh/comp-268/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ assignment1 --- [INFO] Surefire report directory: /Users/mokha/development/gh/comp-268/target/surefire-reports @@ -151,39 +161,19 @@ Here is the output after fixing the failing test: T E S T S ------------------------------------------------------- Running ca.mokhan.comp268.AppTest -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec -Running ca.mokhan.test.CandidateTest -Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec -Running ca.mokhan.test.NumberTest -Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec -Running ca.mokhan.test.EmployeeSavingsTest -Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec -Running ca.mokhan.test.CartesianCoordinateSystemTest -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec -Running ca.mokhan.test.CommunicationTest -Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec -Running ca.mokhan.test.TaxReturnTest -Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec -Running ca.mokhan.test.BanffMarathonRunnerTest -Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec Running ca.mokhan.test.AddressBookTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec -Running ca.mokhan.test.TriangleTest -Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec -Running ca.mokhan.test.BonusOnSavingsTest -Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec -Running ca.mokhan.test.HailstoneSequenceTest -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Results : -Tests run: 51, Failures: 0, Errors: 0, Skipped: 0 +Tests run: 13, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ -[INFO] Total time: 2.885 s -[INFO] Finished at: 2019-05-11T21:28:34-06:00 +[INFO] Total time: 2.552 s +[INFO] Finished at: 2019-05-13T19:56:21-06:00 [INFO] ------------------------------------------------------------------------ ``` @@ -238,15 +228,3 @@ public class Contact { } } ``` - -3. Documentation. This is pet peeve of mine. Writing metadata style - comments to describe the API of a component makes sense when you are - building shared libraries that you intend to distribute. My preferred - style of documentation for any other code is executable - documentation. Executable documentation is the kind of documentation - that stays up to date with the code. It is very easy for code - comments to go stale and not match the actual behaviour of the code - as the system changes. However, executable documentation cannot go - stale because then it will fail to generate. Executable documentation - is more commonly known as test automation. - .i.e Functional, Acceptance, Integration, Unit tests etc. |
