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. My Unit Testing e-book is published!

My Unit Testing e-book is published!

Scheduled Pinned Locked Moved The Lounge
rubyphpcomsecuritytesting
68 Posts 30 Posters 1 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.
  • N Nagy Vilmos

    Your message is garbled beyond belief, but I'll try and reply. If I want to find out something, I go to a source that I trust. Big word that, trust. Now, I know who Marc is and I trust him, so I will read his well priced book. If I then found something I wasn't sure about I would go elsewhere. However the point I and Pete made, and you have fully ignored in your replies, is that your original post was based on no in depth reading of the book. You could barely have read the preface or conclusion, let alone skimmed through the content, before you commented. So where do you get the material for your opinion? You can't say another book is better or more in depth if you haven't read them both. Completely. Your opinion I will leave and Marc's I will take. That way I'll learn something.

    Reality is an illusion caused by a lack of alcohol "Nagy, you have won the internets." - Keith Barrow

    F Offline
    F Offline
    Forogar
    wrote on last edited by
    #28

    I concur. I have read the "other book that shall not be named" and found it hard going in it's attempt to cover too much in too academic a style - and having been a professor of Computer Science for a while I know what academic style is all about. I have started reading Marc's book and find it refreshingly clear and obviously written by someone who actually does programming for living and isn't just interested in testing alone. My vote (post actual reading of both works) is that Marc's book is better for most people. I am now, and have been for over thirty years, a professional programmer. I have also been a professor and an author myself, so I have some claims to know a bit about it.

    - I would love to change the world, but they won’t give me the source code.

    N 1 Reply Last reply
    0
    • J Johnny J

      Karthik. A wrote:

      Off late I've fallen in love w/ unit tests

      You should try a real girlfriend some time... ;P

      Anything that is unrelated to elephants is irrelephant
      Anonymous
      -----
      Do not argue with an idiot. He will drag you down to his level and beat you with experience
      Greg King
      -----
      I had the right to remain silent, but I didn't have the ability!
      Ron White, Comedian

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #29

      Unit Tests is the name of the attractive blonde three desks over from him.

      I was brought up to respect my elders. I don't respect many people nowadays.
      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

      K J 2 Replies Last reply
      0
      • J Johnny J

        Karthik. A wrote:

        Off late I've fallen in love w/ unit tests

        You should try a real girlfriend some time... ;P

        Anything that is unrelated to elephants is irrelephant
        Anonymous
        -----
        Do not argue with an idiot. He will drag you down to his level and beat you with experience
        Greg King
        -----
        I had the right to remain silent, but I didn't have the ability!
        Ron White, Comedian

        K Offline
        K Offline
        Karthik A
        wrote on last edited by
        #30

        :D, a while ago I posted about my love of jQuery in facebook and my wife started questioning me as to who that is ;P (she is into medicine) ! this is just CP, so it's fine!

        Cheers, Karthik

        1 Reply Last reply
        0
        • P Pete OHanlon

          Unit Tests is the name of the attractive blonde three desks over from him.

          I was brought up to respect my elders. I don't respect many people nowadays.
          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

          K Offline
          K Offline
          Karthik A
          wrote on last edited by
          #31

          :) Unfortunately this is not true :(

          Cheers, Karthik

          1 Reply Last reply
          0
          • P Pete OHanlon

            Unit Tests is the name of the attractive blonde three desks over from him.

            I was brought up to respect my elders. I don't respect many people nowadays.
            CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

            J Offline
            J Offline
            Johnny J
            wrote on last edited by
            #32

            LOL - as long as her name isn't Clamydia. :laugh: WTF: Reminds me of a song with Groucho Marx?!?!? :doh:

            Anything that is unrelated to elephants is irrelephant
            Anonymous
            -----
            Do not argue with an idiot. He will drag you down to his level and beat you with experience
            Greg King
            -----
            I had the right to remain silent, but I didn't have the ability!
            Ron White, Comedian

            1 Reply Last reply
            0
            • M Marc Clifton

              [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

              Testers Wanted!
              Latest Article: User Authentication on Ruby on Rails - the definitive how to
              My Blog

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #33

              Excellent work!

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak

              1 Reply Last reply
              0
              • F Forogar

                I concur. I have read the "other book that shall not be named" and found it hard going in it's attempt to cover too much in too academic a style - and having been a professor of Computer Science for a while I know what academic style is all about. I have started reading Marc's book and find it refreshingly clear and obviously written by someone who actually does programming for living and isn't just interested in testing alone. My vote (post actual reading of both works) is that Marc's book is better for most people. I am now, and have been for over thirty years, a professional programmer. I have also been a professor and an author myself, so I have some claims to know a bit about it.

                - I would love to change the world, but they won’t give me the source code.

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

                If I was half as good as Marc, I'd be very happy. In fact I'd be Ma Clif.

                Reality is an illusion caused by a lack of alcohol "Nagy, you have won the internets." - Keith Barrow

                1 Reply Last reply
                0
                • M Marc Clifton

                  [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                  Testers Wanted!
                  Latest Article: User Authentication on Ruby on Rails - the definitive how to
                  My Blog

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

                  Congratulations Marc! Have a :beer:

                  1 Reply Last reply
                  0
                  • M Marc Clifton

                    Nagy Vilmos wrote:

                    this kind of document may be harmful to my computer.

                    It's a PDF, :laugh:

                    Nagy Vilmos wrote:

                    Just shows that testing really does sucketh.

                    Well, given how sucky Chrome has gotten, I definitely think they could use some improved test processes! Marc

                    Testers Wanted!
                    Latest Article: User Authentication on Ruby on Rails - the definitive how to
                    My Blog

                    R Offline
                    R Offline
                    Rob Grainger
                    wrote on last edited by
                    #36

                    Actually, allowing for Adobe's penchant for leaving gaping security holes in Flash and Acrobat, it seems quite reasonable to me. I avoid both unless from trusted sources. PS. Congrats on the book

                    "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.

                    1 Reply Last reply
                    0
                    • R Ranjan D

                      Mocking and Stubbing are the basics one has to understand while doing unit testing. Also it's not about the technology which is really important , it's all the concepts that's really required for one to understand about unit testing. The Art of Unit testing does not target the technology. They have covered the over all things which are really required for developers. I thought it would be better for other developers who want to know more and dig in to the advanced concepts and techniques of Unit Testing. Thanks,

                      Ranjan.D

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #37

                      I'm afraid you're trying to justify the unjustifiable here. You could have brought this up in a separate thread, but you shoe-horned this into Marc's thread. Plus, you had no possible way of knowing whether or not Marc had talked about mocking and stubbing in the time frame between Marc posting and you hijacking this. I have read the Art of Unit Testing, and I have been reading some of Marc's book - it covers some things thar are missing from AUT; things that elevate it above just being a beginners book. Would you have liked it if you'd written this book and then Marc came along and said "ooh look, there's a better book here instead"?

                      I was brought up to respect my elders. I don't respect many people nowadays.
                      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                      1 Reply Last reply
                      0
                      • M Marc Clifton

                        Thanks Pete! (And nice reply to Ranjan, hahaha) Marc

                        Unit Testing Succinctly

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #38

                        :-D I've got your back.

                        I was brought up to respect my elders. I don't respect many people nowadays.
                        CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                        M 1 Reply Last reply
                        0
                        • M Marc Clifton

                          [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                          Testers Wanted!
                          Latest Article: User Authentication on Ruby on Rails - the definitive how to
                          My Blog

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

                          Congrats Marc. Have downloaded it and will read it later. :thumbsup:

                          1 Reply Last reply
                          0
                          • M Marc Clifton

                            [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                            Testers Wanted!
                            Latest Article: User Authentication on Ruby on Rails - the definitive how to
                            My Blog

                            P Offline
                            P Offline
                            Pualee
                            wrote on last edited by
                            #40

                            Downloaded, and thank you for the resource!

                            1 Reply Last reply
                            0
                            • P Pete OHanlon

                              :-D I've got your back.

                              I was brought up to respect my elders. I don't respect many people nowadays.
                              CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

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

                              Pete O'Hanlon wrote:

                              I've got your back.

                              I've noticed that before. ;) Marc

                              Unit Testing Succinctly

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                                Testers Wanted!
                                Latest Article: User Authentication on Ruby on Rails - the definitive how to
                                My Blog

                                R Offline
                                R Offline
                                Rob Philpott
                                wrote on last edited by
                                #42

                                Nice work. I've downloaded it and super-speed read it, and I've learned some stuff. I didn't know you could set up parameters on a test and run the same test repeatedly via multiple attributes, so I've been intellectually enriched. Of course, I never unit test anything I do as it just works perfectly every time but for normal people there's some good stuff in there. :)

                                Regards, Rob Philpott.

                                1 Reply Last reply
                                0
                                • M Marc Clifton

                                  [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                                  Testers Wanted!
                                  Latest Article: User Authentication on Ruby on Rails - the definitive how to
                                  My Blog

                                  M Offline
                                  M Offline
                                  Mohammed Hameed
                                  wrote on last edited by
                                  #43

                                  Congrats!!!

                                  1 Reply Last reply
                                  0
                                  • M Marc Clifton

                                    [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                                    Testers Wanted!
                                    Latest Article: User Authentication on Ruby on Rails - the definitive how to
                                    My Blog

                                    Mike HankeyM Offline
                                    Mike HankeyM Offline
                                    Mike Hankey
                                    wrote on last edited by
                                    #44

                                    Another celebrity in out midst...congrats!

                                    VS2010/Atmel Studio 6.1 ToDo Manager Extension Some days, it's just not worth chewing through the restraints.

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                                      Testers Wanted!
                                      Latest Article: User Authentication on Ruby on Rails - the definitive how to
                                      My Blog

                                      P Offline
                                      P Offline
                                      Pradeep Shukla 0
                                      wrote on last edited by
                                      #45

                                      Congrats Marc..:thumbsup:

                                      1 Reply Last reply
                                      0
                                      • M Marc Clifton

                                        [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                                        Testers Wanted!
                                        Latest Article: User Authentication on Ruby on Rails - the definitive how to
                                        My Blog

                                        M Offline
                                        M Offline
                                        MacSpudster
                                        wrote on last edited by
                                        #46

                                        :-D I definitely would cast my ONE vote that everyONE should read this book at least ONE time. Nice work, Mark. :thumbsup::thumbsup::thumbsup::thumbsup::thumbsup: =============== Odd, the "About the Author" section seems to be missing the credit line that the Author doesn't personally know me... ;P

                                        1 Reply Last reply
                                        0
                                        • M Marc Clifton

                                          [toot toot] Woohoo! If you want a refreshing view of unit testing (would you expect anything else, hahaha) download Unit Testing Succinctly[^]. [/toot toot] Incidentally, I quite enjoyed working with SyncFusion - they paid decently for the book, did some great editing, and the entire experience was very pleasant. Marc

                                          Testers Wanted!
                                          Latest Article: User Authentication on Ruby on Rails - the definitive how to
                                          My Blog

                                          M Offline
                                          M Offline
                                          MacSpudster
                                          wrote on last edited by
                                          #47

                                          Nice work, Mark. :thumbsup::thumbsup::thumbsup::thumbsup::thumbsup: If I may... In my years with Apple's Integration Quality (IQ) Department, Unit (or "Component") Matrix Testing (UMT) was pivitol. IQ ensured all Apple Products were ready for Golden Master / ship status. Of dismay, some products at the time shipped sub-standard. (Not to brag ... OK, bragging ~ the product I was in charge of quality for, the Apple ColorOne Scanner, received the highest QA rating in Apple's then-history from independent testing labs!) I'm jazzed that the first headline in the book, other than "Chapter 1 Why Unit Test?" is "Measuring Correctness". That's the problem allot of testing has, that of the inability to to accurately measure correctness, especially in Unit Matrix Testing (UMT). We had reasonable solo Unit Testing, but there was an absence of measuring cross-unit correctness. That is, we'd measure units A, B & C and say "yup, it's all working", but we didn't measure A & B or A & C as a larger, or "complex"/matrix unit (that UMT noted earlier). OK, yes, with only 3 units we would measure across the matrix, but when it got beyond, say, 10 units, some products would have the next two headline of "Repetition, Repetition, Repetition" and "Code Coverage" skipped for sake of simplifying the overall process. Not good. Especially when a defect is manifested which results in a then $2.4 million ($5.06 million today) "fix-it" cost This actually did occur because a then-Product Manager chose to not include a critical UMT section I had wrote that revealed a defect in a related sister product and would've revealed such in their product; but shipped with the defect. UMT does, in and of itself, (if I may borrow from the book...) introduce cyclomatic unit complexity; a fancy way of saying that the individual units now have multiple points of interaction and integration. Testing instructions: Press the blue button, but first press the orange button. Button Blue and button Orange are units, doing something in and of themselves. When pressed independently, we have the basic raw solo unit test. When executed (pressed) in tandem or consecutively, these buttons (units) present the necessity of UMT, or "integration" testing (hence, the aforementioned QA dept. name of "Integration Quality"). Of course, it may not always be that they would be pressed in tandem or consecutive. Yet, without testing that integration outcome, we fail to "Measure [true] Correctness" and reveal potential defects

                                          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