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. General Programming
  3. C / C++ / MFC
  4. What are the best mocking frameworks available on Linux?

What are the best mocking frameworks available on Linux?

Scheduled Pinned Locked Moved C / C++ / MFC
linuxtestingcollaborationbeta-testingquestion
7 Posts 4 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.
  • H Offline
    H Offline
    Hila Berger
    wrote on last edited by
    #1

    I entered the unit testing world about a year ago and now my team and I start working with Linux. Which mocking framework do you think is the best for Linux and why? Thanks!

    L L I 3 Replies Last reply
    0
    • H Hila Berger

      I entered the unit testing world about a year ago and now my team and I start working with Linux. Which mocking framework do you think is the best for Linux and why? Thanks!

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

      Welcome to codeproject. I don't know. Here's a Software Test joke instead of an answer:

      A senior software tester and a entry level tester went into the company cafeteria and sat down. The senior employee removed a tuna sandwich from an old brown bag. The entry level tester promptly removed a ham sandwich from his man-purse.

      Then a security guard noticed that these employees were breaking the rules and quickly came over to the table. "The company rules clearly state that you cannot bring your own lunch to the cafeteria!" the guard exclaimed.

      The senior tester looked at the security guard, then shrugged his shoulders and exchanged sandwiches with the entry level tester. "I found a loophole in the company rule." he commented with his mouth full.

      Maybe someone with more test experience will answer your question. You might get greater visibility by posting your question in the 'Quick Answers' section. Best Wishes, -David Delaune

      1 Reply Last reply
      0
      • H Hila Berger

        I entered the unit testing world about a year ago and now my team and I start working with Linux. Which mocking framework do you think is the best for Linux and why? Thanks!

        L Offline
        L Offline
        leon de boer
        wrote on last edited by
        #3

        All my code is C so unity, ceedling and cmock and it's irrelevent if it's linux, windows or embedded code. At the end of the day you are testing the code not the compiler implementation and optimizations of the code. There is a pretty good background to it all at Throwtheswitch.org[^] There are also forums there if you need to ask questions.

        In vino veritas

        1 Reply Last reply
        0
        • H Hila Berger

          I entered the unit testing world about a year ago and now my team and I start working with Linux. Which mocking framework do you think is the best for Linux and why? Thanks!

          I Offline
          I Offline
          IlanGreen
          wrote on last edited by
          #4

          The company I work for started using Isolator++ for Linux and it seems to work so far pretty well

          H 1 Reply Last reply
          0
          • I IlanGreen

            The company I work for started using Isolator++ for Linux and it seems to work so far pretty well

            H Offline
            H Offline
            Hila Berger
            wrote on last edited by
            #5

            Nice! What are their mocking abilities?

            I 1 Reply Last reply
            0
            • H Hila Berger

              Nice! What are their mocking abilities?

              I Offline
              I Offline
              IlanGreen
              wrote on last edited by
              #6

              you can mock and fake almost everything, any kind of methods, fields, behaviors, interfaces, dependencies, Instances, and more.

              H 1 Reply Last reply
              0
              • I IlanGreen

                you can mock and fake almost everything, any kind of methods, fields, behaviors, interfaces, dependencies, Instances, and more.

                H Offline
                H Offline
                Hila Berger
                wrote on last edited by
                #7

                Sounds great, thanks!

                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