FAQ
I've written a foo_test.go. It contains three tests.

TestFoo1 OK
TestFoo2 OK
TestFoo3 Fail

What's your method to just run TestFoo3 and add some helper function to
debug why it failed?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Martin Angers at May 8, 2013 at 12:08 pm
    go test -run TestFoo3

    Le mercredi 8 mai 2013 08:04:09 UTC-4, dlin a écrit :
    I've written a foo_test.go. It contains three tests.

    TestFoo1 OK
    TestFoo2 OK
    TestFoo3 Fail

    What's your method to just run TestFoo3 and add some helper function to
    debug why it failed?
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Aaron France at May 8, 2013 at 12:08 pm
    The term you're looking for is "programming" usually I just use
    "programming" to debug things.

    On Wed, May 8, 2013 at 2:04 PM, dlin wrote:

    I've written a foo_test.go. It contains three tests.

    TestFoo1 OK
    TestFoo2 OK
    TestFoo3 Fail

    What's your method to just run TestFoo3 and add some helper function to
    debug why it failed?

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 8, '13 at 12:04p
activeMay 8, '13 at 12:08p
posts3
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase