I wouldn't call it unit testing (and I don't think that is possible in the Packer context) but if you search this archive for serverspec you will find my previous answers on the topic of testing/verifying Packer built images.
On Thu, Apr 11, 2019, 19:03 Nitin Rao <[email protected]> wrote: > Hi, is there a unit testing tool for testing Packer scripts with method > coverage details? If yes, can you please share the steps to do the same. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/4d66e7c4-fbfb-45ee-91a6-ade1374bb93e%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt-JV%3DRn1%2BLzuVrFUjSJHaYvRBrSE%3DWvmcjY%3DQjZwRs9hw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
