Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why Unit Test

Why Unit Test

Scheduled Pinned Locked Moved The Lounge
testingbeta-testing
32 Posts 18 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V VijayPd

    Is :wtf: Unit Testing is most boring activity for Developer

    A Offline
    A Offline
    Afzaal Ahmad Zeeshan
    wrote on last edited by
    #4

    Funny thing is, I don't even know what "_Unit tests_" are. :laugh: I did go to [Wikipedia](https://en.wikipedia.org/wiki/Unit\_testing) to learn something... Ended up yawning! :zzz: There was no challenge, just boring text... _[Lorem ipsum](https://en.wikipedia.org/wiki/Lorem\_ipsum)_ sounds better than that.

    The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

    M 1 Reply Last reply
    0
    • V VijayPd

      Is :wtf: Unit Testing is most boring activity for Developer

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #5

      No, the most boring activity a developer can be involved in is a four hour meeting you have to attend, of which the last five minutes are relevant to your job. If you are lucky. And then ***someone*** will say "oh, just one other thing..." And that'll add another hour or two.

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      Sander RosselS B 2 Replies Last reply
      0
      • V VijayPd

        Is :wtf: Unit Testing is most boring activity for Developer

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #6

        Don't treat it as religious dogma. Ignore silly "rules" (which are just "some guy who thinks he has figured out software development said so, so it must be true"). Write unit tests because without them you might accidentally break things.

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          No, the most boring activity a developer can be involved in is a four hour meeting you have to attend, of which the last five minutes are relevant to your job. If you are lucky. And then ***someone*** will say "oh, just one other thing..." And that'll add another hour or two.

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          Sander RosselS Offline
          Sander RosselS Offline
          Sander Rossel
          wrote on last edited by
          #7

          You can't be sure enough that you're properly utilizing dynamic multidisciplinary channels to authoritatively cloudify end-to-end imperatives. Just saying.

          Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

          Regards, Sander

          OriginalGriffO 1 Reply Last reply
          0
          • V VijayPd

            Is :wtf: Unit Testing is most boring activity for Developer

            N Offline
            N Offline
            Nagy Vilmos
            wrote on last edited by
            #8

            Never, ever test your code, that way you have more time to write rubbish!

            veni bibi saltavi

            OriginalGriffO 1 Reply Last reply
            0
            • Sander RosselS Sander Rossel

              You can't be sure enough that you're properly utilizing dynamic multidisciplinary channels to authoritatively cloudify end-to-end imperatives. Just saying.

              Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

              Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

              Regards, Sander

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #9

              I think we'd better run that up the flagpole and see if anyone salutes it.

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • N Nagy Vilmos

                Never, ever test your code, that way you have more time to write rubbish!

                veni bibi saltavi

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #10

                Nagy Vilmos wrote:

                Never, ever test your code, that way you have more time to write rubbish drink Gin!

                FTFY! OT: How did the dentist go?

                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                N 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Nagy Vilmos wrote:

                  Never, ever test your code, that way you have more time to write rubbish drink Gin!

                  FTFY! OT: How did the dentist go?

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                  N Offline
                  N Offline
                  Nagy Vilmos
                  wrote on last edited by
                  #11

                  Two deep rooted buggers removed with large pliers and 8 novacains

                  veni bibi saltavi

                  OriginalGriffO 1 Reply Last reply
                  0
                  • N Nagy Vilmos

                    Two deep rooted buggers removed with large pliers and 8 novacains

                    veni bibi saltavi

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #12

                    And when does the dentist get out of intensive care?

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    1 Reply Last reply
                    0
                    • V VijayPd

                      Is :wtf: Unit Testing is most boring activity for Developer

                      M Offline
                      M Offline
                      Marc Clifton
                      wrote on last edited by
                      #13

                      Member 11547329 wrote:

                      Is Unit Testing is most boring activity for Developer

                      Whenever I am bored doing programming, I ask myself, why can't the computer do this, which has led to some interesting tools over the years. I still don't see why we don't have tools that generate the unit tests for us. I mean, it really isn't that hard if we were only to apply ourselves to the problem. Marc

                      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                      R 1 Reply Last reply
                      0
                      • A Afzaal Ahmad Zeeshan

                        Funny thing is, I don't even know what "_Unit tests_" are. :laugh: I did go to [Wikipedia](https://en.wikipedia.org/wiki/Unit\_testing) to learn something... Ended up yawning! :zzz: There was no challenge, just boring text... _[Lorem ipsum](https://en.wikipedia.org/wiki/Lorem\_ipsum)_ sounds better than that.

                        The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

                        M Offline
                        M Offline
                        Marc Clifton
                        wrote on last edited by
                        #14

                        Afzaal Ahmad Zeeshan wrote:

                        Ended up yawning!

                        I hope my e-book[^] on the subject isn't a yawner! ;) Marc

                        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                        A V D C 4 Replies Last reply
                        0
                        • M Marc Clifton

                          Afzaal Ahmad Zeeshan wrote:

                          Ended up yawning!

                          I hope my e-book[^] on the subject isn't a yawner! ;) Marc

                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                          A Offline
                          A Offline
                          Afzaal Ahmad Zeeshan
                          wrote on last edited by
                          #15

                          I will try yawning enough before clicking on the link... ;) Thank you very much (have a +1 as thank you) for your e-book, Marc. I will give it a read thoroughly right away. :)

                          The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

                          M 1 Reply Last reply
                          0
                          • A Afzaal Ahmad Zeeshan

                            I will try yawning enough before clicking on the link... ;) Thank you very much (have a +1 as thank you) for your e-book, Marc. I will give it a read thoroughly right away. :)

                            The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

                            M Offline
                            M Offline
                            Marc Clifton
                            wrote on last edited by
                            #16

                            Afzaal Ahmad Zeeshan wrote:

                            Marc. I will give it a read thoroughly right away.

                            Heh, well, it's ok if you yawn through it too. But I would enjoy hearing your thoughts about it! Marc

                            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                            A 1 Reply Last reply
                            0
                            • V VijayPd

                              Is :wtf: Unit Testing is most boring activity for Developer

                              P Offline
                              P Offline
                              PIEBALDconsult
                              wrote on last edited by
                              #17

                              I test my unit frequently... :omg: Oh! You mean code! Ummm, yeah, I do that too. :-O

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                Afzaal Ahmad Zeeshan wrote:

                                Ended up yawning!

                                I hope my e-book[^] on the subject isn't a yawner! ;) Marc

                                Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                V Offline
                                V Offline
                                VijayPd
                                wrote on last edited by
                                #18

                                Hi Afzaal, Cool Answer :)

                                1 Reply Last reply
                                0
                                • V VijayPd

                                  Is :wtf: Unit Testing is most boring activity for Developer

                                  R Offline
                                  R Offline
                                  Ravi Bhavnani
                                  wrote on last edited by
                                  #19

                                  Boring beats staying up till 4:00am trying to fix a critical bug in production. /ravi

                                  My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                                  V 1 Reply Last reply
                                  0
                                  • M Marc Clifton

                                    Member 11547329 wrote:

                                    Is Unit Testing is most boring activity for Developer

                                    Whenever I am bored doing programming, I ask myself, why can't the computer do this, which has led to some interesting tools over the years. I still don't see why we don't have tools that generate the unit tests for us. I mean, it really isn't that hard if we were only to apply ourselves to the problem. Marc

                                    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                    R Offline
                                    R Offline
                                    Ravi Bhavnani
                                    wrote on last edited by
                                    #20

                                    Marc Clifton wrote:

                                    I still don't see why we don't have tools that generate the unit tests for us.

                                    Clickety[^] :) /ravi

                                    My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                                    M 1 Reply Last reply
                                    0
                                    • R Ravi Bhavnani

                                      Marc Clifton wrote:

                                      I still don't see why we don't have tools that generate the unit tests for us.

                                      Clickety[^] :) /ravi

                                      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                                      M Offline
                                      M Offline
                                      Marc Clifton
                                      wrote on last edited by
                                      #21

                                      Ravi Bhavnani wrote:

                                      Clickety[^]

                                      True, but I've never tried, as I expect to be disappointed. Have you tried it? Marc

                                      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                      R D 2 Replies Last reply
                                      0
                                      • R Ravi Bhavnani

                                        Boring beats staying up till 4:00am trying to fix a critical bug in production. /ravi

                                        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                                        V Offline
                                        V Offline
                                        VijayPd
                                        wrote on last edited by
                                        #22

                                        Ravi, I agree wid u. I also face this problem several times.

                                        1 Reply Last reply
                                        0
                                        • M Marc Clifton

                                          Ravi Bhavnani wrote:

                                          Clickety[^]

                                          True, but I've never tried, as I expect to be disappointed. Have you tried it? Marc

                                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                          R Offline
                                          R Offline
                                          Ravi Bhavnani
                                          wrote on last edited by
                                          #23

                                          No, I haven't tried it.  I've been building my unit tests manually so far.  Admittedly, I don't test every method and property - just (what I deem to be) points of failure. /ravi

                                          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups