Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
agent any
environment {
GIT_REPO = '202212_Equipo11'
GIT_REPO = '202212_Equipo10'
GIT_CREDENTIAL_ID = '277a9d46-cf19-4119-afd9-4054a7d35151'
SONARQUBE_URL = 'http://172.24.100.52:8082/sonar-misovirtual'
}
Expand Down Expand Up @@ -80,4 +80,3 @@ pipeline {
}
}
}

3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"styles": ["src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"],
"scripts": []
},
"configurations": {
Expand Down
41 changes: 41 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@angular/platform-browser": "~13.3.0",
"@angular/platform-browser-dynamic": "~13.3.0",
"@angular/router": "~13.3.0",
"bootstrap": "^5.2.2",
"exec-sh": "^0.4.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
Expand Down
29 changes: 25 additions & 4 deletions reports/ut_report.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
<testExecutions version="1">
<file path="src/app/book/book.service.spec.ts">
<testCase name="Service: Book should ..." duration="16"/>
</file>
<file path="src/app/book/book-list/book-list.component.spec.ts">
<testCase name="BookListComponent should have h5 tag with the book.name" duration="85"/>
<testCase name="BookListComponent should have the corresponding src to the book image and alt to the book name" duration="14"/>
<testCase name="BookListComponent should have 9 &lt;div.col.mb-2> elements and the deleted book should not exist" duration="17"/>
<testCase name="BookListComponent should have 10 &lt;div.card-body> elements" duration="9"/>
<testCase name="BookListComponent should have 10 &lt;card.p-2> elements" duration="6"/>
<testCase name="BookListComponent should have p tag with the book.editorial.name" duration="8"/>
<testCase name="BookListComponent should have 10 &lt;div.col.mb-2> elements" duration="9"/>
<testCase name="BookListComponent should create" duration="11"/>
<testCase name="BookListComponent should have 10 &lt;img> elements" duration="10"/>
</file>
<file path="src/app/app.component.spec.ts">
<testCase name="AppComponent should have as title 'base-project'" duration="118"/>
<testCase name="AppComponent should create the app" duration="14"/>
<testCase name="AppComponent should render title" duration="13"/>
<testCase name="AppComponent should render title" duration="57">
<failure message="Error">Error: Expected undefined to contain 'base-project app is running!'.
at &lt;Jasmine&gt;
at UserContext.&lt;anonymous&gt; (src/app/app.component.spec.ts:29:66)
at _ZoneDelegate.invoke (node_modules/zone.js/fesm2015/zone.js:372:1)
at ProxyZoneSpec.onInvoke (node_modules/zone.js/fesm2015/zone-testing.js:287:1)
</failure>
</testCase>
<testCase name="AppComponent should have as title 'base-project'" duration="5"/>
<testCase name="AppComponent should create the app" duration="5"/>
</file>
</testExecutions>
</testExecutions>
Loading