mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
295d526531
* Add capabilities for checks if a file has been written With the current file system mock we cannot assert if a file has been written. E.g. we cannot distiguish between files added to the virtual file system before the test and files explicitly written. In contrast to that we can check for deleted files. With the change here we get a func HasWritteFile(name). [Q] Wouln't it be possible to check based on the file content if a file has been written (the new file should have another content as the file registered before). [A] We should not assert some file content here since the produced file content can be created by another "class" which is unit tested somewhere else. With that approach we would test the producer here again. Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com> |
||
---|---|---|
.. | ||
checkmarx | ||
cloudfoundry | ||
command | ||
config | ||
docker | ||
fortify | ||
generator | ||
github | ||
http | ||
log | ||
maven | ||
mock | ||
nexus | ||
npm | ||
piperenv | ||
piperutils | ||
protecode | ||
sonar | ||
telemetry | ||
versioning | ||
whitesource |